Runtime error issue

Правка en2, от 15411019, 2019-03-09 16:19:32

Hey Guys,

I am trying to solve this problem [contest:260][problem:A](https://mirror.codeforces.com/contest/455/problem/A) tagged DP. I am getting runtime error for my submission in case of larger inputs[submission:51083532 (https://mirror.codeforces.com/contest/455/submission/51083532). Can anyone please explain what I am doing wrong, I am a beginner. Any help will be appreciated.

Теги #dp, codeforces round #260, boredom

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский 15411019 2019-03-09 16:23:50 399
en2 Английский 15411019 2019-03-09 16:19:32 104
en1 Английский 15411019 2019-03-09 16:16:15 289 Initial revision (published)