QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#262268#7748. Karshilov's Matching Problem IIucup-team1817#WA 286ms57656kbC++142.9kb2023-11-23 17:27:192023-11-23 17:27:20

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 38728kb

input:

8 5
abbabaab
aababbab
1 2 4 8 16 32 64 128
1 1
2 3
3 5
4 7
1 8

output:

1
3
3
16
38

result:

ok 5 lines

Test #2:

score: 0
Accepted
time: 0ms
memory: 42836kb

input:

15 4
heheheheehhejie
heheheheheheheh
3 1 4 1 5 9 2 6 5 3 5 8 9 7 9
2 3
4 8
2 6
1 15

output:

3
13
13
174

result:

ok 4 lines

Test #3:

score: -100
Wrong Answer
time: 286ms
memory: 57656kb

input:

150000 150000
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

output:

147816472327364
499467671694945
502008981980819
532525639958419
187148012545617
484160676119341
353584965767946
503616146831946
254116711169726
447397339546999
487770273237786
481658237663694
423853190723074
337843287487406
408725159246192
402757593481368
160901810525624
154301554355385
204922668683...

result:

wrong answer 1st lines differ - expected: '108147037823514', found: '147816472327364'