Question about 498B

Правка en1, от sidzekrom, 2015-07-29 09:12:50

Here is a link to problem 498B http://codeforces.me/contest/498/problem/B

I attempted the problem and analyzed my solution to run in O(nT), but my submission exceeds the time limit on test #65. I would be glad if someone could help me figure out why it is exceeding the time limit (or explained why my solution didn't run in O(nT)). http://codeforces.me/contest/498/submission/12259316

Теги dp, probability, time limit exceeded

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский sidzekrom 2015-07-29 09:12:50 411 Initial revision (published)