QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#259319#7748. Karshilov's Matching Problem IIucup-team2108WA 0ms21680kbC++143.7kb2023-11-20 20:19:402023-11-20 20:19:41

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: -100
Wrong Answer
time: 0ms
memory: 21680kb

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
26
24
187

result:

wrong answer 2nd lines differ - expected: '13', found: '26'