a213: 積木對接 (Blocks)
Tags :
Accepted rate : 10人/12人 ( 83% ) [非即時]
評分方式:
Tolerant

最近更新 : 2022-12-07 23:19

Input
Output
Sample Input #1
3
2 2 3 1 3 2 2
2
2 2 3
Sample Output #1
YES
Sample Input #2
3
2 2 3 1 3 2 2
2
2 3 3
Sample Output #2
NO
Sample Input #3
4
3 2 7 4 3 1 2 1 1
3
4 2 5 1 1
Sample Output #3
NO
Sample Input #4
2
3 2 1 4 1
2
1 6 1
Sample Output #4
NO
Sample Input #5
3
3 2 3 3 4 1 2
2
2 10 1
Sample Output #5
YES
測資資訊:
記憶體限制: 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%): 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練習賽202211新手組第3題snail [管理者:
ktlai (K.我已霸榜.Tlai)
]


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