Run successfully on local IDE but got RTE on Codeforces with the same test.

Правка en3, от thanhchauns2, 2021-08-11 16:31:02

Hi everyone, recently I came across this problem in the problemset, which I have came up with a solution like this: 125580675, which turned out to be RTE on test 7 in the system tests. I managed to copy the test to run and debug it locally, but it gave a correct answer and didn't help me anything.

The #7 test looks like this:

Test case #7

My solution on local IDE output this solution:

Output

For everyone who is reading this, excuse me, can you help me find the bug? I couldn't find it however I try.

Thank you so much for reading this! Hope you have a great standing in the next contests ^_^

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский thanhchauns2 2021-08-11 16:31:02 322
en2 Английский thanhchauns2 2021-08-11 16:27:18 2 Tiny change: 'Possible\n57 &mdas' -> 'Possible\n\n57 &mdas'
en1 Английский thanhchauns2 2021-08-11 16:26:45 1210 Initial revision (published)