SMART KEYPAD - I RECURSION, 1 Test Case Failed

https://ide.codingblocks.com/s/70224
https://hack.codingblocks.com/contests/c/16/96

I think there’s some problem when i enter zero, but from my side everything seems fine.

Solved on whatsapp personal