h659. 計程車 (Taxi)
Tags :
Accepted rate : 650人/674人 ( 96% ) [非即時]
評分方式:
Tolerant

最近更新 : 2022-03-29 11:38

Input
Output
Sample Input #1
1 1 7 8
Sample Output #1
20
Sample Input #2
1 2 12 13
Sample Output #2
25
Sample Input #3
2 1000 7 17
Sample Output #3
2520
Sample Input #4
20 60 13 15
Sample Output #4
260
Sample Input #5
150 36 17 18
Sample Output #5
850
Sample Input #6
150 36 17 19
Sample Output #6
1035
Sample Input #7
1000 1000 20 23
Sample Output #7
8155
測資資訊:
記憶體限制: 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 , <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%): 0.5s , <1K
公開 測資點#11 (5%): 0.5s , <1K
公開 測資點#12 (5%): 0.5s , <1K
公開 測資點#13 (5%): 0.5s , <1K
公開 測資點#14 (5%): 0.5s , <1K
公開 測資點#15 (5%): 0.5s , <1K
公開 測資點#16 (5%): 0.5s , <1K
公開 測資點#17 (5%): 0.5s , <1K
公開 測資點#18 (5%): 0.5s , <1K
公開 測資點#19 (5%): 0.5s , <1K
Hint :
Tags:
出處:
TOI練習賽202203新手組第2題 [管理者: snail (蝸牛) ]

Status Forum 排行

ID User Problem Subject Hit Post Date
41008 toseanlin@gm ... (Dr. SeanXD) h659
C++詳解-Map
183 2024-06-24 09:16
39180 linyohan3@gm ... (林宥安) h659
C++解答
289 2024-01-21 01:06
37650 terrytseng98 ... (曾宥誠) h659
_C++
487 2023-09-24 15:00
37064 fire5386 (becaidorz) h659
簡易題解
377 2023-08-20 17:48