QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#150007#5596. I Could Have WonZhaoZiLongWA 4ms3752kbC++20615b2023-08-25 14:50:352023-08-25 14:50:37

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

BBAAABABBAAABB

output:

3
3 6 7 

result:

ok 2 lines

Test #2:

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

input:

AABBBAAB

output:

2
2 4 

result:

ok 2 lines

Test #3:

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

input:

A

output:

1
1 

result:

ok 2 lines

Test #4:

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

input:

B

output:

0

result:

ok single line: '0'

Test #5:

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

input:

ABAABBAAABBBAAAABBBBAAAAABBBBBAAAAAABBBBBBAAAAAAABBBBBBBAAAAAAAABBBBBBBBAAAAAAAAABBBBBBBBBAAAAAAAAAABBBBBBBBBBAAAAAAAAAAABBBBBBBBBBB

output:

52
3 4 5 7 8 9 11 13 14 16 17 18 21 22 25 26 27 29 30 31 32 33 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 

result:

ok 2 lines

Test #6:

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

input:

BABBAABBBAAABBBBAAAABBBBBAAAAABBBBBBAAAAAABBBBBBBAAAAAAABBBBBBBBAAAAAAAABBBBBBBBBAAAAAAAAABBBBBBBBBBAAAAAAAAAABBBBBBBBBBBAAAAAAAAAAABBBBBBBBBBBBAAAAAAAAAAAA

output:

4
6 10 15 28 

result:

ok 2 lines

Test #7:

score: 0
Accepted
time: 4ms
memory: 3508kb

input:

BAAABBABABABBBBABBAABABBAAABBBBAABBBBABBBBABABBAABAAABBAABAABBBAABABBAAAABBBBBAABBBBAAAAABAABBAAAAABBBABAABAABBABBAABBBBAABABBBBBBBAABBBAAAAABBBBBBAABBABABABBBBABBAABABBAABBBABABAABBBAABAABAABABBBBAAABBAABABAAAABABBABAABAABAABBBABBBAABBABBAABAABABABBABBBABBBAABBAABBBBBAAABABAABBBBABBBBABAAABBABBABAA...

output:

7
13 55 70 114 115 116 332 

result:

ok 2 lines

Test #8:

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

input:

ABBAABBBAAABBBBAAAABBBBBAAAAABBBBBBAAAAAA

output:

4
1 3 15 21 

result:

ok 2 lines

Test #9:

score: -100
Wrong Answer
time: 4ms
memory: 3628kb

input:

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...

output:

1001
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101...

result:

wrong answer 1st lines differ - expected: '2000', found: '1001'