Birthday Gifts

PROBLEM: TWINGFT of today’s lunchtime…
Here is my solution…
https://www.codechef.com/viewsolution/47228172
It is passing all given test cases but still showing WA on submission…
Please clear the logic along with the test cases at which my code is getting failed…

seems you forgot the ‘k’ turns.

I got it…Thanks a lot for mentioning it

1 Like