Solution : [CF595E] By Elevator or Stairs?

Правка en1, от ce_amtic, 2019-10-29 12:49:28

Obviously,it's a DP problem,because this problem ask us to print the answers of all $$$k$$$ floors.

Let f[i][0] means the answer of floor $$$i$$$ ,and insure that

Теги dp

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский ce_amtic 2019-10-29 14:51:22 55
en3 Английский ce_amtic 2019-10-29 14:47:34 2 Tiny change: 'he code:\n```cpp\n' -> 'he code:\n\n```cpp\n'
en2 Английский ce_amtic 2019-10-29 14:42:26 1164 (published)
en1 Английский ce_amtic 2019-10-29 12:49:28 199 Initial revision (saved to drafts)