https://www.codechef.com/viewsolution/28827991
removed the error , but still not got tick
1
2
????101010?010101?
https://www.codechef.com/viewsolution/28831233
i have completely changed my whole logic but still its giving WA
1
2
?101??0?01010
Can someone please help me in which corner case the submission CodeChef: Practical coding for everyone can give wrong answer.
I have tried all the TCs provided in this thread.
Consider the testcase:
1
10
6165?0658
3
10
6165?0658
10
6165106??
10
?16510610
for the above 3 cases my solution was giving wrong answer. After updating the script also giving the wrong answer verdict. CodeChef: Practical coding for everyone
This now fails for the sample testcase
oh freak I am a great dumb --------
Thanks a lot @ssjgz
Finally AC CodeChef: Practical coding for everyone
You’re getting an out-of-bounds access on this testcase:
1
5
?1?101
No i have checked for out of bound!!
If you say so
ohh i see now it was really an out of bound mistake!
thanks you !!
but still WA.
Consider the testcase:
1
2
1??1?101??10101???1?
ohh yes it was falling in this case, now i corrected but still WA!
Consider the testcase:
1
2
1
thanks you so much it really helped!!
now it was AC this time!!
Can anybody tell me why my code gets failed?
My code is IN Python…
https://www.codechef.com/viewsolution/33981821