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

Why I get different answers between custom invocation and problem test?

Revision en5, by Voleking, 2016-08-12 05:20:18

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

Tags #wronganswer, different answer, #368 (div. 2) b

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en5 English Voleking 2016-08-12 05:20:18 64 Tiny change: 'In [#367 Div. 2] [submis' -
en4 English Voleking 2016-08-12 05:15:21 41 Tiny change: 'd to know How to caus' -> 'd to know how to caus'
en3 English Voleking 2016-08-12 05:14:03 41 Tiny change: 'try/46492)[problem:7' -
en2 English Voleking 2016-08-12 05:13:04 5 Tiny change: ' know How can cause thi' -> ' know How to cause thi' (published)
en1 English Voleking 2016-08-12 05:11:05 578 Initial revision (saved to drafts)