CAKEDOOM - Editorial

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
1 Like

thanku soo mush @ssjgz at last i got correct answer :slight_smile:

1 Like

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
2 Likes

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. :sob: CodeChef: Practical coding for everyone

This now fails for the sample testcase :slight_smile:

2 Likes

oh freak I am a great dumb --------
Thanks a lot @ssjgz :hugs:
Finally AC CodeChef: Practical coding for everyone :frowning:

1 Like

please help me with this why i am getting WA!

https://www.codechef.com/viewsolution/29145263

You’re getting an out-of-bounds access on this testcase:

1
5
?1?101
2 Likes

No i have checked for out of bound!!

If you say so :slight_smile:

2 Likes

ohh i see now it was really an out of bound mistake!
thanks you !!

but still WA.:sob:

https://www.codechef.com/viewsolution/29301627

1 Like

Consider the testcase:

1
2
1??1?101??10101???1?
2 Likes

ohh yes it was falling in this case, now i corrected but still WA!

https://www.codechef.com/viewsolution/29301999

Consider the testcase:

1
2
1
2 Likes

thanks you so much it really helped!!
now it was AC this time!!:relieved:

1 Like

Can anybody tell me why my code gets failed?
My code is IN Python…
https://www.codechef.com/viewsolution/33981821