unexpected output

Revision en2, by brainstorm, 2015-12-09 05:53:40

http://codeforces.net/contest/449/submission/14705739

on my system the output for the given test case is coming to be "2" , while codeforces compiler is giving "1" .
why so?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English brainstorm 2015-12-09 05:53:40 23
en1 English brainstorm 2015-12-09 05:51:54 186 Initial revision (published)