QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#589854#8073. StringyeyuzheTL 4ms15956kbC++142.7kb2024-09-25 20:22:432024-09-25 20:22:43

詳細信息

Test #1:

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

input:

aaababaa
aababbca
7
aa
abb
aab
ab
abc
bb
ba

output:

3
1
3
2
2
1
0

result:

ok 7 lines

Test #2:

score: 0
Accepted
time: 3ms
memory: 15956kb

input:

baabaabbaaaaabaabbababababaabbaababaaababbbabbabaa
aabaabaabbbbbabaababbbbaaabbbaabaabaabbbabbabbbbab
10
bb
abaaa
aabb
aab
bb
ba
bba
bab
baa
abba

output:

11
4
10
11
11
11
8
19
8
10

result:

ok 10 lines

Test #3:

score: -100
Time Limit Exceeded

input:

aababbababaaaaaabbababaaabbabbbbbbaaabbbbaaabaabaaabaaaabbbabababaaabbababbbaaaabbbbbaabaaababbaaaaaaabaabaabaabbbbbbaabbbabababbabbbbabbabababaaaabaaaaabbbbaababbbbaaabbbbbaabaabbaababbaaabaabaaabbbbaabababaaabbbbabaababababbbaababbabbbbbbabbbbaaabbaaabbbabbabaabbaaabaaaabbbbbbbaabaabbbbbbabbbbabbb...

output:


result: