Codeforces and Polygon may be unavailable from December 6, 19:00 (UTC) to December 6, 21:00 (UTC) due to technical maintenance. ×

Voleking's blog

By Voleking, history, 8 years ago, In English

In Codeforces Round 215 (Div. 1) 19790402 I got WA on test 79, However, I thought I got the correct answer when I used Custom Invocation.

What the problem is???

I passed this problem by replace %ld with %d, but I do want to know Why I get different answers between custom invocation and problem test?

By the way, I'm glad to know how to cause this WA, since I thought there is no different between %ld and %d in GNU G++11 5.10 :)

  • Vote: I like it
  • +10
  • Vote: I do not like it

| Write comment?
»
8 years ago, # |
  Vote: I like it 0 Vote: I do not like it

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

»
8 years ago, # |
  Vote: I like it 0 Vote: I do not like it

You should contact the admins for re-checking of your solution(there must be some problem with checker at that time since it does not show even judge output). It's correct. see the following submission — just an additional comment(to make the code run again instead of fetching stored result corresponding to above solution) — http://mirror.codeforces.com/contest/706/submission/19819586

  • »
    »
    8 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Well,thanks you a lot. I sent message to MikeMirzayanov 8 days ago,but it is unread.Do you know other admins or know their emails?