QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#750773#69. LampsUrd4 11ms21104kbC++171.5kb2024-11-15 15:54:092024-11-15 15:54:10

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 6
Accepted
time: 0ms
memory: 3576kb

input:

1
1
0

output:

1

result:

ok single line: '1'

Test #2:

score: 6
Accepted
time: 0ms
memory: 3568kb

input:

1
1
1

output:

0

result:

ok single line: '0'

Test #3:

score: 6
Accepted
time: 0ms
memory: 3660kb

input:

2
10
01

output:

1

result:

ok single line: '1'

Test #4:

score: 6
Accepted
time: 0ms
memory: 3616kb

input:

2
01
10

output:

1

result:

ok single line: '1'

Test #5:

score: 6
Accepted
time: 0ms
memory: 3856kb

input:

2
11
00

output:

1

result:

ok single line: '1'

Test #6:

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

input:

2
11
10

output:

1

result:

ok single line: '1'

Test #7:

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

input:

2
11
01

output:

1

result:

ok single line: '1'

Test #8:

score: 6
Accepted
time: 0ms
memory: 3572kb

input:

18
000000000000000000
101010101010101010

output:

9

result:

ok single line: '9'

Test #9:

score: 6
Accepted
time: 0ms
memory: 3572kb

input:

18
111111111111111111
010101010101010101

output:

9

result:

ok single line: '9'

Test #10:

score: 6
Accepted
time: 0ms
memory: 3568kb

input:

17
11111111111111111
10101010101010101

output:

8

result:

ok single line: '8'

Test #11:

score: 6
Accepted
time: 0ms
memory: 3596kb

input:

17
00000000000000000
01010101010101010

output:

8

result:

ok single line: '8'

Test #12:

score: 6
Accepted
time: 0ms
memory: 3824kb

input:

18
110111100010101111
010111100011100000

output:

3

result:

ok single line: '3'

Test #13:

score: 0
Wrong Answer
time: 0ms
memory: 3656kb

input:

17
10110110110110101
01011100100110000

output:

5

result:

wrong answer 1st lines differ - expected: '4', found: '5'

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 4
Accepted

Test #59:

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

input:

1
0
0

output:

0

result:

ok single line: '0'

Test #60:

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

input:

1
0
1

output:

1

result:

ok single line: '1'

Test #61:

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

input:

2
00
00

output:

0

result:

ok single line: '0'

Test #62:

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

input:

2
00
10

output:

1

result:

ok single line: '1'

Test #63:

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

input:

2
00
01

output:

1

result:

ok single line: '1'

Test #64:

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

input:

2
00
11

output:

1

result:

ok single line: '1'

Test #65:

score: 4
Accepted
time: 7ms
memory: 20912kb

input:

1000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

0

result:

ok single line: '0'

Test #66:

score: 4
Accepted
time: 3ms
memory: 20868kb

input:

1000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

500000

result:

ok single line: '500000'

Test #67:

score: 4
Accepted
time: 11ms
memory: 20816kb

input:

999999
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

500000

result:

ok single line: '500000'

Test #68:

score: 4
Accepted
time: 11ms
memory: 21104kb

input:

1000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

500000

result:

ok single line: '500000'

Test #69:

score: 4
Accepted
time: 4ms
memory: 21028kb

input:

999999
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

499999

result:

ok single line: '499999'

Test #70:

score: 4
Accepted
time: 7ms
memory: 20884kb

input:

999999
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

1

result:

ok single line: '1'

Test #71:

score: 4
Accepted
time: 11ms
memory: 20844kb

input:

1000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

100

result:

ok single line: '100'

Test #72:

score: 4
Accepted
time: 7ms
memory: 20812kb

input:

999999
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

12345

result:

ok single line: '12345'

Subtask #4:

score: 0
Skipped

Dependency #1:

0%