0
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
5 ответов
+ 1
Martin Taylor The above one is the difference that the online judge found from my code. I am also kinda think that the problem is with header. But I don't understand why.
### files dont match - see output *** 2760-e.out 2021-06-21 09:17:09.419696326 +0000 --- 2760/2760-e.sol 2018-04-12 18:41:27.304634000 +0000 *************** *** 1,4 **** !
rrwi yikqer kqso gql4��"��D#�����P���
! ikqer kqso gql4��"��D#�����P���rrwi y
! 4��"��D#�����P���rrwi yikqer kqso gql
! rrwi yikqer kqso4��"��D
--- 1,4 ---- !
rrwi yikqer kqso gql
! ikqer kqso gqlrrwi y
! rrwi yikqer kqso gql
! rrwi yikqer kqso
Differences were found
+ 1
Martin Taylor Thank you so much. It worked finally!