COPS Cops and the Thief Devu

My solution seems to be working fine for the given sample cases but on submission it produces a wrong output.
Question : COPS Problem - CodeChef
My solution : CodeChef: Practical coding for everyone
If anyone could help me

Your code looks fine, but you are printing the output in the same line.

So, just add a newline after printing the answer and it should get Accepted (AC).

1 Like