k464. 收購土地 (Land)
Tags : 滑動窗格 雙指標
Accepted rate : 81人/94人 ( 86% ) [非即時]
評分方式:
Tolerant

最近更新 : 2023-05-03 23:42

Content

Input
Output
Sample Input #1
10 2
1 5 5 4 5 2 1 6 3 3
Sample Output #1
4
Sample Input #2
9 5
3 4 6 8 7 8 5 3 6
Sample Output #2
7
Sample Input #3
7 2
7 1 1 7 3 4 1
Sample Output #3
4
Sample Input #4
6 3
6 3 1 6 6 5
Sample Output #4
5
測資資訊:
記憶體限制: 64 MB
公開 測資點#0 (5%): 2.0s , <1K
公開 測資點#1 (5%): 2.0s , <1K
公開 測資點#2 (5%): 2.0s , <1K
公開 測資點#3 (5%): 2.0s , <1K
公開 測資點#4 (5%): 2.0s , <1K
公開 測資點#5 (5%): 2.0s , <1K
公開 測資點#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 , <10M
公開 測資點#13 (5%): 2.0s , <10M
公開 測資點#14 (5%): 2.0s , <1M
公開 測資點#15 (5%): 2.0s , <10M
公開 測資點#16 (5%): 2.0s , <10M
公開 測資點#17 (5%): 2.0s , <10M
公開 測資點#18 (5%): 2.0s , <10M
公開 測資點#19 (5%): 2.0s , <10M
Hint :
Tags:
滑動窗格 雙指標
出處:
TOI練習賽202304潛力組第2題 [管理者: mushroom.cs9 ... (mushroom) ]

Status Forum 排行

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