Can anyone post test-cases on which my code fails

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

1
9 9
1 Like

Thank you! Any others?

1
9 8

I/P -
2
65 65
8 8

O/P -
20
6

But shouldn’t 65+65 without carrying equal 120?

You dont have to take carry at any position
6 + 6 turn out to be 12 but as you dont have to take carry it will be
6 + 6 == 2

1 Like

Ah ok, thanks!

Thank you everyone! Resubmitted and got full this time xD

2 Likes