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
P.s. My code passes first test case, but bugs on second one.↵
P.p.s. Problem's number is 978C