erikgrabljevec5's blog

By erikgrabljevec5, 10 years ago, In English

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!

  • Vote: I like it
  • 0
  • Vote: I do not like it

»
10 years ago, # |
  Vote: I like it +3 Vote: I do not like it

OK, that happened to me once during a contest

http://codeforces.net/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.