I'm not sure if this is a bug, but would like to know why is this wrong.
http://codeforces.me/contest/761/submission/24331207
http://codeforces.me/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 :)