QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#740233#8576. Symphony in c++ majorucup-team3627ML 4ms3536kbC++232.9kb2024-11-13 05:33:222024-11-13 05:33:22

详细

Test #1:

score: 100
Accepted
time: 4ms
memory: 3536kb

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: