QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#900582#10089. Elegia❄️'s MindUSA1 (Andrew He, Kevin Sun, Gennady Korotkevich) #TL 1ms3712kbC++236.9kb2025-02-15 16:16:382025-02-15 16:16:45

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
111111

output:

24

result:

ok answer is '24'

Test #2:

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

input:

1
110111

output:

0

result:

ok answer is '0'

Test #3:

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

input:

2
000001001000010000000010000100100000

output:

24

result:

ok answer is '24'

Test #4:

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

input:

2
111111111111111111111111111111111111

output:

576

result:

ok answer is '576'

Test #5:

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

input:

1
000000

output:

0

result:

ok answer is '0'

Test #6:

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

input:

1
111100

output:

0

result:

ok answer is '0'

Test #7:

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

input:

3
110111110110101101111111101111110111111111111111111111011111111111111110111111111011111111111101111111111111111111111101111111111111111111111111110011111010111111110001111111111111111111110111111111111111111110101111

output:

6984

result:

ok answer is '6984'

Test #8:

score: -100
Time Limit Exceeded

input:

9
0111110101111111111111111111111111101111111111110110111111111111111111011101111110111111111011111111111110110111110110111111110111111111110011111111111111111111111110011111111111111001111111111111111011111101111111111111111111111011111110111111111111110110111111110111111011110111011111111101111111...

output:


result: