My code is giving wrong answer every time. I have read it three times already. I do not know which are the cases i am doing wrong. Can anyone give me a hint?
The problem is the first question of divsion 2 of the long challenge.
This is my first contest. Please help a little bit.