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 :)

Full text and comments »

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