QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#541033#4990. Coffee Cup ComboGuanYunchangWA 118ms43704kbJava8547b2024-08-31 18:26:532024-08-31 18:26:53

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 58ms
memory: 39188kb

input:

10
0100010100

output:

8

result:

ok single line: '8'

Test #2:

score: 0
Accepted
time: 48ms
memory: 38544kb

input:

10
1100000000

output:

4

result:

ok single line: '4'

Test #3:

score: 0
Accepted
time: 47ms
memory: 40372kb

input:

1
0

output:

0

result:

ok single line: '0'

Test #4:

score: 0
Accepted
time: 44ms
memory: 38532kb

input:

10
1011111100

output:

10

result:

ok single line: '10'

Test #5:

score: 0
Accepted
time: 58ms
memory: 39280kb

input:

10
0000000110

output:

3

result:

ok single line: '3'

Test #6:

score: 0
Accepted
time: 51ms
memory: 37888kb

input:

10
0011000000

output:

4

result:

ok single line: '4'

Test #7:

score: 0
Accepted
time: 118ms
memory: 43704kb

input:

100000
00000101010001101100000001000000001101011000101111011111001000101100011101001010010110100000111100010011000110001111111100110111101010110011000000001110010000111111110111101000100111000001101101000100101000011101100010010001010100000011101100101001100111011111010100101000011100001011111001011...

output:

87328

result:

ok single line: '87328'

Test #8:

score: -100
Wrong Answer
time: 96ms
memory: 43428kb

input:

100000
10000110000100111011000000101101000110011100011000101001110011000101100010011000010101000101011001000110101010111110000001101011111100011111111101111101011000010011111101101011111101101100011001101000100011111011111010100100110011010111001001001101011101110100100100011010100010111010001001100...

output:

87467

result:

wrong answer 1st lines differ - expected: '87468', found: '87467'