QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#225868#7618. Pattern Searchucup-team2039WA 91ms5928kbC++202.7kb2023-10-25 10:59:342023-10-25 10:59:34

详细

Test #1:

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

input:

2
bajkaaall aal
abca cba

output:

2
1

result:

ok 2 number(s): "2 1"

Test #2:

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

input:

16
a a
a b
b a
aa a
ab aa
ab b
ab c
aaz az
abcde edcba
aaaaaaaaaaaabbb aaaaaaaaabb
aaaaaazz az
aaaaaaaaaz zzzzz
gggggggggggggggggggge ggggeeee
hyphyphyphyphyphyphyphyphyphyphyphyp eeeeeeeeee
hyphyphyphyphyphyphyphyphyphyphyphype eeteeteeteet
aaaabbbbbbcccccccc aaabbbbbcccccc

output:

1
0
0
2
0
1
0
1
1
2
2
0
0
0
0
1

result:

ok 16 numbers

Test #3:

score: -100
Wrong Answer
time: 91ms
memory: 5868kb

input:

90522
cyykzyylklyll ylcyllklzk
ttusuuudtdtqus uuddu
uefyqfkiblyfkyd ffyyqde
qfxqecljeqeedea jqdxf
prrbfxdxffpbpp ffppd
ynjgygygjnjnjg jgynjggn
maenpaksmxyya saxkep
nrdnbnjipnjowjz djbwojzrpni
oputuoufoojupu uoouopo
mphmhphpkpkpmhp phmhpppp
zwznzpzqyjczzy wczjnpzqy
pfxfxxkfffpfx fxffkffxpx
hzdhzhhh h...

output:

1
1
1
1
1
1
1
0
1
1
0
1
1
1
1
1
1
1
1
1
1
1
4
1
1
1
2
1
1
4
0
1
1
1
1
1
1
1
1
1
1
2
1
2
1
2
1
1
1
1
1
1
3
1
1
1
1
1
1
1
1
1
2
2
1
1
1
1
1
2
1
1
1
1
4
1
2
1
1
1
1
1
3
1
1
3
1
1
1
1
2
1
1
1
0
1
1
3
1
2
4
1
1
1
1
1
1
1
1
1
1
5
1
7
1
1
1
1
1
3
1
1
0
1
1
1
1
1
1
1
1
2
1
1
1
1
1
1
1
1
1
1
1
0
2
1
1
1
1
2
...

result:

wrong answer 8th numbers differ - expected: '1', found: '0'