Bug in CF ?

Revision en1, by 1theweblover007, 2015-12-31 11:52:41

Hello, I was solving this problem : http://codeforces.com/problemset/problem/486/B

Here is my submission : http://codeforces.com/contest/486/submission/15134351

The same code on ideone gives correct answer in both C++14 and C++ 5.1 : http://ideone.com/NUMK5T

There maybe something I'm doing wrong. Would he great if anyone could help.

Thanks Alot!

Tags bug, codeforces, crazy problems

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English 1theweblover007 2015-12-31 11:52:41 505 Initial revision (published)