unexpected output

Правка en2, от 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?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский brainstorm 2015-12-09 05:53:40 23
en1 Английский brainstorm 2015-12-09 05:51:54 186 Initial revision (published)