QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#869970#5596. I Could Have WonHuangHanShengWA 1ms3584kbC++17499b2025-01-25 14:09:512025-01-25 14:10:01

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

BBAAABABBAAABB

output:

3
3 6 7 

result:

ok 2 lines

Test #2:

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

input:

AABBBAAB

output:

2
2 4 

result:

ok 2 lines

Test #3:

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

input:

A

output:

1
1 

result:

ok 2 lines

Test #4:

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

input:

B

output:

0

result:

ok single line: '0'

Test #5:

score: -100
Wrong Answer
time: 1ms
memory: 3584kb

input:

ABAABBAAABBBAAAABBBBAAAAABBBBBAAAAAABBBBBBAAAAAAABBBBBBBAAAAAAAABBBBBBBBAAAAAAAAABBBBBBBBBAAAAAAAAAABBBBBBBBBBAAAAAAAAAAABBBBBBBBBBB

output:

3
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:

wrong answer 1st lines differ - expected: '52', found: '3'