Defining infinity

Revision en1, by duckmoon99, 2017-02-01 05:30:14

I'm not sure if this is a bug, but would like to know why is this wrong.

http://mirror.codeforces.com/contest/761/submission/24331207

http://mirror.codeforces.com/contest/761/submission/24331035

Both of these codes are the same except one defines INF as 10e9, and the other as 1000000000. Yet one gets WA and the other didn't. Why is this? Thanks :)

Tags bug

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English duckmoon99 2017-02-01 05:30:14 361 Initial revision (published)