e881. Q2 極限運動
Tags : DP 走樓梯問題
Accepted rate : 40人/48人 ( 83% ) [非即時]
評分方式:
Tolerant

最近更新 : 2020-02-14 11:03

Content

 

Input
Output
Sample Input #1
3 2
0
Sample Output #1
3
Sample Input #2
8 2
1 5
Sample Output #2
10
Sample Input #3
101 10 
0
Sample Output #3
1211700015849788251502892752696
測資資訊:
記憶體限制: 256 MB
公開 測資點#0 (12%): 1.0s , <1K
公開 測資點#1 (12%): 1.0s , <1K
公開 測資點#2 (12%): 1.0s , <1K
公開 測資點#3 (12%): 1.0s , <1K
公開 測資點#4 (13%): 1.0s , <1K
公開 測資點#5 (13%): 1.0s , <1K
公開 測資點#6 (13%): 1.0s , <1K
公開 測資點#7 (13%): 2.0s , <1K
Hint :
Tags:
DP 走樓梯問題
出處:
103學年度台北資訊學科能力競賽 [管理者: hshua (hshua) ]

Status Forum 排行

ID User Problem Subject Hit Post Date
沒有發現任何「解題報告」