QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#226340#7618. Pattern Searchucup-team2290#RE 0ms3620kbC++201.8kb2023-10-25 20:31:022023-10-25 20:31:03

詳細信息

Test #1:

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

input:

2
bajkaaall aal
abca cba

output:

2
1

result:

ok 2 number(s): "2 1"

Test #2:

score: -100
Runtime Error

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:


result: