My code is not accepted. Please review it

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

You are not checking for others.
This might help----> Code

1 Like