Runtime error in question "boredom" (455A)

Правка en3, от vasanthaganesh, 2016-01-20 17:42:55

link to the question: http://mirror.codeforces.com/contest/455/problem/A

language: python 2.7

submission: 15453370

Hello guys! I have encountered a very peculiar situation wherein my code works properly for 11 testcases but on the 12th testcase I get a runtime error.Please do look into the source code and suggest corrections.

Теги dynamic programming, runtime error

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский vasanthaganesh 2016-01-20 17:42:55 216 updated blog text
en2 Английский vasanthaganesh 2016-01-20 16:32:56 424 code was not displayed properly, so i linked the submission
en1 Английский vasanthaganesh 2016-01-20 16:10:42 546 Initial revision (published)