QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#589709#8073. StringyeyuzheTL 0ms16160kbC++141.7kb2024-09-25 19:48:532024-09-25 19:48:56

詳細信息

Test #1:

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

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: 0ms
memory: 16160kb

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: