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

Автор ACCEPT, 13 лет назад, По-английски
this code (360189) got AC, but in my computer for test #18, it's write:
NO
NO

but correct answer is:
YES
NO 
Теги bug
  • Проголосовать: нравится
  • -37
  • Проголосовать: не нравится

13 лет назад, # |
Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится
this link doesn't work, if it's not the problem of my browser
it opens codeforces.com
13 лет назад, # |
Rev. 2   Проголосовать: нравится +3 Проголосовать: не нравится
1. Your link is really bad http://www.codeforces.com/contest/70/my lead to users own submits for problem. So the only thing I can find following this link are my own solutions.
2. Look maybe some variables in your code are not initialized or you read elements after an array. This can lead to different behaviour in two consequent runs.
13 лет назад, # |
Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится
what's the language of code and compilators on your computer and on online judge?
13 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится
I cant see your code but i think you have used a loop for multiple testcases and forgot to initialize some arrays,variables etc. Codeforce system reads every set of input separately,so the code passed. Even if you dont write test case loop,still it will run fine for every case on system.