Блог пользователя valdaarhun

Автор valdaarhun, 5 лет назад, По-английски

Hi.

I was trying out this problem right now — The Meaningless Game (https://codeforces.net/problemset/problem/833/A)

When I submit my code using g++17 7.3.0, I get a wrong answer on test case 2. Here's my submission 81163127. However, the first 20 pairs of numbers give me the right answer when I test it on my computer which does not match the first 20 outputted lines displayed on codeforces.

Things become weirder (for me) from here onwards. When I submit the exact same code using g++ 9.2.0 (64 bit), my code gets accepted. Here's the submission 81163450.

Could someone please explain why this problem arises?

  • Проголосовать: нравится
  • +6
  • Проголосовать: не нравится

»
5 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Auto comment: topic has been updated by valdaarhun (previous revision, new revision, compare).

»
5 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Auto comment: topic has been updated by valdaarhun (previous revision, new revision, compare).