QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#608848#7332. DissertationMaMengQiAC ✓847ms254460kbC++201.6kb2024-10-04 06:12:272024-10-04 06:12:27

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
abcdefghijklmnopqrstuvwxyz
bbddee

output:

3

result:

ok 1 number(s): "3"

Test #2:

score: 0
Accepted
time: 847ms
memory: 254460kb

input:

4106
ababbbab
babaa
aabaaaaa
bbbab
aababaab
bbaab
aababbba
aaaaa
aabbabbb
baabb
aabababb
abbbb
aabbabab
babaa
aaabbaaa
aaabb
aaababba
ababb
aabbbaba
abaaa
abbbaaba
bbbab
aaaababb
aabab
abbbaaba
abbba
abbbabbb
bbbaa
aaabaaaa
aaabb
abbababb
baaaa
aaaababb
babbb
abaaaaab
aabaa
ababaaab
aabaa
abbbabaa
b...

output:

4
2
5
4
4
5
4
5
5
4
5
5
5
4
4
3
4
4
5
4
5
5
5
4
4
5
3
3
5
4
4
3
3
5
4
5
4
5
3
2
5
4
3
4
4
5
5
5
5
5
3
4
5
4
4
4
4
5
5
4
5
4
5
5
4
4
5
4
4
4
4
4
5
5
4
5
4
5
5
5
5
5
4
5
4
5
5
5
3
4
4
5
4
1
5
3
3
4
3
5
3
4
4
3
4
3
4
5
5
5
4
5
4
3
4
4
3
3
4
5
4
5
4
5
4
4
5
4
3
5
5
3
5
5
4
5
4
5
4
3
4
4
4
4
4
4
5
5
5
5
...

result:

ok 4106 numbers