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

Автор junkbot, 13 лет назад, По-английски
First time using codeforces, everything looks alright except when I submit for above problem, although it runs perfect on my system, it keeps saying that my program is failing on the first testcase, although it outputs different on my system to what it says that my program outputs.
  • Проголосовать: нравится
  • +5
  • Проголосовать: не нравится

13 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится
1) what compiler do you use?
2) maby you forgot about file input/output?
  • 13 лет назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится
    1) gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5)
    (g++)

    2) I did file i/o, just that the judge didn't like my use of %lld with GNU C++
13 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится
I just examined your source - your problem is I/O.
Check that link: http://codeforces.com/blog/entry/416 (shortly: use I64d instead of lld or submit as MSVC).