QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#214235#6367. Bad WordGuanYunchangWA 2ms3620kbC++20834b2023-10-14 18:08:472023-10-14 18:08:47

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

7
abcdcba

output:

2

result:

ok 1 number(s): "2"

Test #2:

score: 0
Accepted
time: 0ms
memory: 3460kb

input:

3
xxx

output:

-1

result:

ok 1 number(s): "-1"

Test #3:

score: 0
Accepted
time: 0ms
memory: 3620kb

input:

50426
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

output:

-1

result:

ok 1 number(s): "-1"

Test #4:

score: 0
Accepted
time: 1ms
memory: 3528kb

input:

50776
bbabaabbaaaaaabbbabbbabababababaabbabbbbbaaabababbbbababaaabbbbbabbaababababababbbabbbaaaaaabbaababbbabaabbaaaaaabbbabbbabababababaabbabbbbbaaabababbbbababaaabbbbbabbaababababababbbabbbaaaaaabbaababbbabaabbaaaaaabbbabbbabababababaabbabbbbbaaabababbbbababaaabbbbbabbaababababababbbabbbaaaaaabbaa...

output:

2

result:

ok 1 number(s): "2"

Test #5:

score: 0
Accepted
time: 1ms
memory: 3592kb

input:

50689
bcacbbaabbbcbcbbccbaccbaacaccccabaabcbbabbcaabbbbaabbbbaacbbabbcbaabaccccacaabccabccbbcbcbbbaabbcacbcacbbaabbbcbcbbccbaccbaacaccccabaabcbbabbcaabbbbaabbbbaacbbabbcbaabaccccacaabccabccbbcbcbbbaabbcacbcacbbaabbbcbcbbccbaccbaacaccccabaabcbbabbcaabbbbaabbbbaacbbabbcbaabaccccacaabccabccbbcbcbbbaabb...

output:

2

result:

ok 1 number(s): "2"

Test #6:

score: 0
Accepted
time: 1ms
memory: 3548kb

input:

50394
eesldjofevwkxnnzbtjvobguzpaopubavsnstqdwltmhecqixexiqcehmtlwdqtsnsvabupoapzugbovjtbznnxkwvefojdlseeesldjofevwkxnnzbtjvobguzpaopubavsnstqdwltmhecqixexiqcehmtlwdqtsnsvabupoapzugbovjtbznnxkwvefojdlseeeesldjofevwkxnnzbtjvobguzpaopubavsnstqdwltmhecqixexiqcehmtlwdqtsnsvabupoapzugbovjtbznnxkwvefojdls...

output:

2

result:

ok 1 number(s): "2"

Test #7:

score: 0
Accepted
time: 1ms
memory: 3520kb

input:

50948
abbabaabbaababbabaababbaabbabaabbaababbaabbabaababbabaababbaabbabaabbaababbaabbabaababbabaabbaababbaabbabaabbaababbabaababbaabbabaabbaababbaabbabaababbabaababbaabbabaabbaababbaabbabaababbabaabbaababbabbabaabbaababbabaababbaabbabaabbaababbaabbabaababbabaababbaabbabaabbaababbaabbabaababbabaabbaa...

output:

2

result:

ok 1 number(s): "2"

Test #8:

score: 0
Accepted
time: 1ms
memory: 3608kb

input:

50769
abcbcacabbcacababccababcbcabcacababccababcbcaabcbccbcbaacbcbabaccbabacacbacbcbabaccbabacacbbacacbcbabcbcacabbcacababccababcbcabcacababccababcbcaabcbccbcbaacbcbabaccbabacacbacbcbabaccbabacacbbacacbcbabcbcacabbcacababccababcbcabcacababccababcbcaabcbccbcbaacbcbabaccbabacacbacbcbabaccbabacacbbacac...

output:

2

result:

ok 1 number(s): "2"

Test #9:

score: 0
Accepted
time: 2ms
memory: 3524kb

input:

51114
abcdefbcdefacdefabdefabcefabcdfabcdebcdefacdefabdeedbafedcafedcbedcbafdcbafecbafedbafedcafedcbfedcbaabcdefbcdefacdefabdefabcefabcdfabcdebcdefacdefabdeedbafedcafedcbedcbafdcbafecbafedbafedcafedcbfedcbaabcdefbcdefacdefabdefabcefabcdfabcdebcdefacdefabdeedbafedcafedcbedcbafdcbafecbafedbafedcafedcb...

output:

2

result:

ok 1 number(s): "2"

Test #10:

score: 0
Accepted
time: 1ms
memory: 3580kb

input:

51164
abcdefghijbcdefghijacdefghijabdefghijabcefghijabcddcbajihgfecbajihgfedbajihgfedcajihgfedcbjihgfedcbaabcdefghijbcdefghijacdefghijabdefghijabcefghijabcddcbajihgfecbajihgfedbajihgfedcajihgfedcbjihgfedcbaabcdefghijbcdefghijacdefghijabdefghijabcefghijabcddcbajihgfecbajihgfedbajihgfedcajihgfedcbjihg...

output:

2

result:

ok 1 number(s): "2"

Test #11:

score: 0
Accepted
time: 1ms
memory: 3536kb

input:

50588
abcdefghijklmnopqrstuvwxyzbcdefghijklmnopqrstuvwxyxwvutsrqponmlkjihgfedcbzyxwvutsrqponmlkjihgfedcbaabcdefghijklmnopqrstuvwxyzbcdefghijklmnopqrstuvwxyxwvutsrqponmlkjihgfedcbzyxwvutsrqponmlkjihgfedcbaabcdefghijklmnopqrstuvwxyzbcdefghijklmnopqrstuvwxyxwvutsrqponmlkjihgfedcbzyxwvutsrqponmlkjihgfed...

output:

2

result:

ok 1 number(s): "2"

Test #12:

score: -100
Wrong Answer
time: 0ms
memory: 3528kb

input:

51146
eueeueueeueeueueeueueeueeueueeueeueueeueueeueeueueeueueeueeueueeueueeueeueueeueeueueeueueeueeueueeueeueeueueeueeueueeueueeueeueueeueeueueeueueeueeueueeueueeueeueueeueueeueeueueeueeueueeueueeueeueueeueeueeueueeueeueueeueueeueeueueeueeueueeueueeueeueueeueueeueeueueeueueeueeueueeueeueueeueueeueeu...

output:

-1

result:

wrong answer 1st numbers differ - expected: '2', found: '-1'