j180. 戰備存糧 (Food)
Tags :
Accepted rate : 183人/210人 ( 87% ) [非即時]
評分方式:
Tolerant

最近更新 : 2022-11-02 11:53

Input
Output
Sample Input #1
1 5
-1
Sample Output #1
5
Sample Input #2
2 5
3 4
8 2
-1
Sample Output #2
7
7
5
Sample Input #3
10 10
3 3
4 1
1 1
6 8
-1
Sample Output #3
28
5
1
1
19
測資資訊:
記憶體限制: 64 MB
公開 測資點#0 (5%): 1.0s , <1K
公開 測資點#1 (5%): 1.0s , <1K
公開 測資點#2 (5%): 1.0s , <1K
公開 測資點#3 (5%): 1.0s , <1K
公開 測資點#4 (5%): 1.0s , <1M
公開 測資點#5 (5%): 1.0s , <1M
公開 測資點#6 (5%): 1.0s , <1M
公開 測資點#7 (5%): 1.0s , <1M
公開 測資點#8 (5%): 1.0s , <1M
公開 測資點#9 (5%): 1.0s , <1M
公開 測資點#10 (5%): 0.5s , <1M
公開 測資點#11 (5%): 0.5s , <1M
公開 測資點#12 (5%): 0.5s , <1M
公開 測資點#13 (5%): 0.5s , <1M
公開 測資點#14 (5%): 0.5s , <1M
公開 測資點#15 (5%): 0.5s , <1M
公開 測資點#16 (5%): 0.5s , <1M
公開 測資點#17 (5%): 0.5s , <1M
公開 測資點#18 (5%): 0.5s , <1M
公開 測資點#19 (5%): 0.5s , <1M
Hint :
Tags:
出處:
TOI練習賽202210新手組第3題 [管理者: snail (蝸牛) ]

Status Forum 排行

ID User Problem Subject Hit Post Date
41512 lbm00138 (A是蘋果 B是香蕉) j180
__細節
189 2024-08-02 23:09
39676 WhiteShark (ThatShark) j180
某一種想法
288 2024-03-18 15:05