QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#768977#8576. Symphony in c++ majorucup-team3862#ML 1ms3712kbC++202.7kb2024-11-21 15:33:302024-11-21 15:33:31

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3712kb

input:

8 10
eldorado
? 1 3
? 1 8
# 6 7 it
? 1 8
# 3 3 t
? 1 8
# 1 8 streamer
? 1 8
# 1 8 symphony
? 1 8

output:

3
4
6
6
6
6

result:

ok 6 numbers

Test #2:

score: -100
Memory Limit Exceeded

input:

500000 300000
rfsraltzititrofomloldlaefikdemaddaafmimiioiuaueiaedifacmxamttiiitaaltiiireexeafsaaraedosotlaioootaiosizlifiioadhnxiofsasaflleaiisstaotdlliulilxatrpdaraaraaoiaeoooiumwuumarlifesroloistedoaaieolisaoatamsredorrfiifaaidfeassfioaiasmstomasallsftsrfaiiirteomaeiirefldmlaoaofrxlaeuilioirafotoa...

output:

154909
170332
118860
69012
111175
173164
94947
5223
389596
58339
71497
339959
162434
205427
93895
259869
110758
99587
224093
90987
114802
208118
250938
120090
112483
86271
206352
188196
67170
198425
130455
217223
44956
69883
22339
87078
415897
309939
150060
193968
211199
174675
51715
299663
141504
5...

result: