0
Please help me how to input elements as per test cases for finding abs of them
https://www.codechef.com/FEB21C/problems/MAXFUN https://code.sololearn.com/cVce61ek02WB/?ref=app
9 Respuestas
+ 4
Roy Kapoor if anything doesn't makes sense let me know , although you could just use array to insert values first into array and do summing and abs() thing which i think would be more readable and easy to do.
https://code.sololearn.com/cxol2NYmF5M5/?ref=app
+ 3
Thanks for helping bro you are the best😊
My doubt is why their is a condition called k<=j-2..
I understand k part is for input..
Also the statement j=k..
+ 2
@Roy Kapoor i modified it a bit , so let me know if you don't understand it.
+ 2
Yes bro thanks a lot🤩
+ 2
Bro a small help I need..I covered edge cases but also failing 😓
https://www.sololearn.com/post/926108/?ref=app
+ 1
Experts Arsenic help please
+ 1
Roy Kapoor the question you are trying to solve is from an ongoing competition (codechef's Feb long challange)
I can't provide you with any solution right now as it would be considered as cheating.
I would be glad to help you but only after the competition gets finished.
+ 1
But I didn't participate