What's the problem in this code?

Revision en1, by Chasty, 2015-10-19 07:07:40

in my local PC I ouput the correct answer but in CF does not.  Link -> http://codeforces.me/contest/585/submission/13721320

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Chasty 2015-10-19 07:07:40 252 Initial revision (published)