How is it possible that I get wrong answer on testcases?

Правка en2, от malikov_a, 2022-09-30 20:43:31

When I run the program on my PC, it gives me the correct answer and everything goes okay. But when I submit that code here, it says that it gives the wrong answer. I copied exactly the same input as it is given in the test case and I get the correct answer, but only on the compiler installed on my PC (or on the online compiler of C++). I tried to rewrite it 20 times — no result. Chose another version of the language — no result. Is it possible that the compiler of codeforces glitches and starts giving the wrong result no matter what? P.s. My code passes first test case, but bugs on second one. P.p.s. Problem's number is 978C

Теги c++, bugs, judgmental bugs, online judge

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский malikov_a 2022-09-30 20:43:31 1 Tiny change: 'ect answer but only ' -> 'ect answer, but only '
en1 Английский malikov_a 2022-09-30 20:42:47 701 Initial revision (published)