TLE using DP ?? TimusOJ

Правка en2, от suraj021, 2015-06-26 16:16:00

I was solving problem Metro in TimusOJ using DP but it get TLE verdict.How do i optimize my solution. My Solution in Ideone . Thanks

Теги dp, timus, shortest

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский suraj021 2015-06-26 21:48:15 50 Tiny change: 'rong link.' -> 'rong link.\nUPD: Accepted, Thank you codeforces community :)'
en3 Английский suraj021 2015-06-26 18:16:35 71
en2 Английский suraj021 2015-06-26 16:16:00 30 Tiny change: 'E verdict. My [Solu' -> 'E verdict.How do i optimize my solution. My [Solu'
en1 Английский suraj021 2015-06-26 16:14:52 233 Initial revision (published)