Пожалуйста, подпишитесь на официальный канал Codeforces в Telegram по ссылке https://t.me/codeforces_official. ×

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

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

For some reason my submission on problem 490F gets rejected by judge, even though it works fine on my computer.

8849567

Thank you for your help!

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

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

OK, that happened to me once during a contest

http://codeforces.com/contest/489/submission/8725956

Your program probably has undefined behaviour (which means you forgot to initialize some variable). Luckily enough (or not so lucky), on your computer, that variable started with 0, so it didn't matter much, yet on the judge it started with trash.