l246. F. 挑水果
Tags : 動態規劃
Accepted rate : 7人/9人 ( 78% ) [非即時]
評分方式:
Tolerant

最近更新 : 2023-08-07 11:36

Content

Input
Output
Sample Input #1
2 18
1 2
3 3
3 3
3
2 3
Sample Output #1
0
Sample Input #2
2 29
1 2
3 3
3 3
3
2 3
Sample Output #2
3
Sample Input #3
2 30
1 2
3 3
3 3
3
2 3
Sample Output #3
6
Sample Input #4
2 10
1 2
3 3
3 3
3
2 3
Sample Output #4
-1
測資資訊:
記憶體限制: 64 MB
公開 測資點#0 (5%): 2.0s , <1K
公開 測資點#1 (5%): 2.0s , <1K
公開 測資點#2 (5%): 2.0s , <1M
公開 測資點#3 (5%): 2.0s , <1M
公開 測資點#4 (5%): 2.0s , <1M
公開 測資點#5 (5%): 2.0s , <1M
公開 測資點#6 (5%): 2.0s , <1M
公開 測資點#7 (5%): 2.0s , <1M
公開 測資點#8 (5%): 2.0s , <1M
公開 測資點#9 (5%): 2.0s , <1M
公開 測資點#10 (5%): 2.0s , <1M
公開 測資點#11 (5%): 2.0s , <1M
公開 測資點#12 (5%): 2.0s , <1M
公開 測資點#13 (5%): 2.0s , <1M
公開 測資點#14 (5%): 2.0s , <1M
公開 測資點#15 (5%): 2.0s , <1M
公開 測資點#16 (5%): 2.0s , <1M
公開 測資點#17 (5%): 2.0s , <1M
公開 測資點#18 (5%): 2.0s , <1M
公開 測資點#19 (5%): 2.0s , <1M
Hint :
Tags:
動態規劃
出處:
110學年度全國資訊學科能力競賽 [管理者: mushroom.cs9 ... (mushroom) ]

Status Forum 排行

ID User Problem Subject Hit Post Date
37744 dfd8282@gmai ... (fishhh) l246
解題報告
330 2023-10-04 10:45