Codeforces and Polygon may be unavailable from December 6, 19:00 (UTC) to December 6, 21:00 (UTC) due to technical maintenance. ×

unexpected output

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

http://mirror.codeforces.com/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)