QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#497550#7332. Dissertationucup-team1005#AC ✓194ms112188kbC++201.1kb2024-07-29 13:25:452024-07-29 13:25:48

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
abcdefghijklmnopqrstuvwxyz
bbddee

output:

3

result:

ok 1 number(s): "3"

Test #2:

score: 0
Accepted
time: 194ms
memory: 112188kb

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