QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#664766#7332. DissertationUrdAC ✓111ms113016kbC++171.0kb2024-10-21 22:13:362024-10-21 22:13:37

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
abcdefghijklmnopqrstuvwxyz
bbddee

output:

3

result:

ok 1 number(s): "3"

Test #2:

score: 0
Accepted
time: 111ms
memory: 113016kb

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