QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#740232#8576. Symphony in c++ majorucup-team3627ML 3ms3872kbC++233.0kb2024-11-13 05:27:292024-11-13 05:27:30

详细

Test #1:

score: 100
Accepted
time: 3ms
memory: 3872kb

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:

118763
129648
94300
53794
88941
144084
71493
4007
292594
52641
55271
258675
124204
165979
77076
203689
82420
80891
179056
75127
91344
168280
197194
95156
89803
65457
166858
141760
52498
161297
102041
174277
34122
54313
16843
72482
310691
238089
115558
158389
170454
132365
41913
231079
109898
47396
1...

result: