This answer wont work In LENTMO in neither of the test cases. Could not think of any flaw in this solution please help me to point out the flaw related to this solution
https://www.codechef.com/viewsolution/24805094
Lang: Py 3.6 Contest : June Long
This answer wont work In LENTMO in neither of the test cases. Could not think of any flaw in this solution please help me to point out the flaw related to this solution
https://www.codechef.com/viewsolution/24805094
Lang: Py 3.6 Contest : June Long
Please tell somebody
I did check it but still dont get why my solution should return a WA? My approach is almost similar and seems right.
Try this input.
1
4
0 0 0 0
3
1
The answer should be 4 but your code is giving 3.