Different output on codeforces, ideone and my pc?

Revision en1, by JohnnyTest, 2018-06-20 23:51:43

I tried solving 192A, which worked on my pc but when I uploaded on codeforces, the same code gave wrong output. I tried running it on Ideone, where also it produced right result.

codeforces submission

What I'm doing wrong?

Tags gnu c, c11, 35a, output, compiler

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English JohnnyTest 2018-06-20 23:51:43 365 Initial revision (published)