e969. 大吃大喝 (Big eater)
Tags :
Accepted rate: 1426人/ 1592人 ( 90%) [非即時]
評分方式:
Tolerant

最近更新 : 2024-08-27 17:33

Input
Output
Sample Input #1
65 5 0
Sample Output #1
0: Wayne eats an Apple pie, and now he has 33 dollars.
Sample Input #2
143 18 1
Sample Output #2
0: Wayne drinks a Corn soup, and now he has 88 dollars.
18: Wayne eats an Apple pie, and now he has 56 dollars.
36: Wayne drinks a Corn soup, and now he has 1 dollar.
Sample Input #3
55 1 1
Sample Output #3
0: Wayne drinks a Corn soup, and now he doesn't have money.
Sample Input #4
31 10 0
Sample Output #4
Wayne can't eat and drink.
測資資訊:
記憶體限制: 512 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 , <1K
公開 測資點#5 (5%): 1.0s , <1K
公開 測資點#6 (5%): 1.0s , <1K
公開 測資點#7 (5%): 1.0s , <1K
公開 測資點#8 (5%): 1.0s , <1K
公開 測資點#9 (5%): 1.0s , <1K
公開 測資點#10 (5%): 1.0s , <1K
公開 測資點#11 (5%): 1.0s , <1K
公開 測資點#12 (5%): 1.0s , <1K
公開 測資點#13 (5%): 1.0s , <1K
公開 測資點#14 (5%): 1.0s , <1K
公開 測資點#15 (5%): 1.0s , <1K
公開 測資點#16 (5%): 1.0s , <1K
公開 測資點#17 (5%): 1.0s , <1K
公開 測資點#18 (5%): 1.0s , <1K
公開 測資點#19 (5%): 1.0s , <1K
Hint :
Tags:
出處:
TOI 練習賽 201903 新手組 第3題 [管理者: pcshic (PCSHIC) ]

Status Forum 排行

ID User Problem Subject Hit Post Date
41723 ken.mhhsu@gm ... (Ken Min-Hao Hsu) e969
C++解答不會再看
633 2024-08-20 14:34
21151 fire5386 (becaidorz) e969
想不到再來看吧
2463 2020-04-20 19:37
54768 rumm2859@gma ... (青) e969
C語言
30 2026-03-15 19:41
54656 william00000 ... (unknown) e969
C++解法
36 2026-02-28 09:37
39159 linyohan3@gm ... (林宥安) e969
C++解答
728 2024-01-21 00:01