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

Hey, don’t worry as it is not a big problem. You can find the best birthday gifts at Coupon Codify with the Gifts For You Now Coupons to get huge discounts on purchasing online.