Cross Mountain Climb problem optimized solution ?

Правка en1, от mohamedeltair, 2017-09-16 05:27:16

Regarding this problem: Cross Mountain Climb, actually what came to my mind is brute force and dp but the constraints are just too high (hi and d can reach 1e9), any hints ?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский mohamedeltair 2017-09-16 05:27:16 262 Initial revision (published)