What is wrong with my code? I always get 5% wrong even when its working perfectly in IDE.
I am pretty much sure everything in the code is ok. Still after submission a test case is showing wrong. But it is working exactly same in codeblocks. So it should be ok. The problem link and the code is given below Problem: https://www.urionlinejudge.com.br/judge/en/problems/view/2760 Code https://code.sololearn.com/cW9tw32o6Wo5/?ref=app