Different output on ideone and codeforces

Revision en1, by L_H, 2015-06-18 18:39:08

I am trying to solve http://codeforces.me/problemset/problem/551/B but when I submit the solution I get wrong answer...so to check again I went to ideone and checked the output for that test case and I get correct answer any suggestions?

Link to codeforces solution http://codeforces.me/contest/551/submission/11634884

Link to ideone solution http://ideone.com/3xgM8v

Tags c++

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English L_H 2015-06-18 18:39:08 421 Initial revision (published)