QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#95413#1245. Three ballsZhangYiDeWA 24ms16348kbC++205.9kb2023-04-09 16:57:512023-04-09 16:57:53

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 9ms
memory: 16200kb

input:

3
1 000
1 100
0 111

output:

7

result:

ok answer is '7'

Test #2:

score: 0
Accepted
time: 9ms
memory: 16248kb

input:

5
2 10110
0 11010
1 00000

output:

19

result:

ok answer is '19'

Test #3:

score: 0
Accepted
time: 2ms
memory: 16184kb

input:

3
2 011
0 100
3 010

output:

8

result:

ok answer is '8'

Test #4:

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

input:

5
1 11010
3 00001
4 01011

output:

32

result:

ok answer is '32'

Test #5:

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

input:

1
1 1
1 1
1 0

output:

2

result:

ok answer is '2'

Test #6:

score: 0
Accepted
time: 2ms
memory: 16284kb

input:

1
1 0
0 1
1 0

output:

2

result:

ok answer is '2'

Test #7:

score: 0
Accepted
time: 2ms
memory: 16344kb

input:

10
4 0001001011
6 0000011100
4 1011000101

output:

969

result:

ok answer is '969'

Test #8:

score: 0
Accepted
time: 8ms
memory: 16196kb

input:

15
4 110001100010010
11 101101011011001
0 001110001001110

output:

32227

result:

ok answer is '32227'

Test #9:

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

input:

15
9 011001010111000
7 101000010111010
9 010000110010010

output:

31656

result:

ok answer is '31656'

Test #10:

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

input:

15
15 011010001011011
6 101000010001001
6 000010111110010

output:

32768

result:

ok answer is '32768'

Test #11:

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

input:

15
0 100010010001000
0 011100000001011
0 100000100111111

output:

3

result:

ok answer is '3'

Test #12:

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

input:

14
0 11101010011000
0 11101010011000
0 11101010011000

output:

1

result:

ok answer is '1'

Test #13:

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

input:

37
28 1001101111100111110011111100101110110
32 1001011110011111110100111110100110010
21 1001000111000000110011000001100011111

output:

438952513

result:

ok answer is '438952513'

Test #14:

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

input:

37
21 0101010101010101010101010101010101010
20 0011001100110011001100110011001100110
22 0000111100001111000011110000111100001

output:

16781879

result:

ok answer is '16781879'

Test #15:

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

input:

36
14 001110110001000000000111001011111101
13 100000010110111010011100111111010100
12 011111111010110111110010110011100100

output:

765072297

result:

ok answer is '765072297'

Test #16:

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

input:

1500
653 101110010010011101100010011000000111010100100001101000000010010011001011101111100111100101000111001110000011111110011010101011111101001011011001100010100100101100100101000010001101011111100001010000101000100110110001011011001111100001010110101000000111010111001011110011110100110101111111110...

output:

979972096

result:

ok answer is '979972096'

Test #17:

score: 0
Accepted
time: 11ms
memory: 16224kb

input:

1500
1207 01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101...

output:

247669529

result:

ok answer is '247669529'

Test #18:

score: 0
Accepted
time: 24ms
memory: 16212kb

input:

1500
941 010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010...

output:

79895166

result:

ok answer is '79895166'

Test #19:

score: 0
Accepted
time: 13ms
memory: 16288kb

input:

1499
456 011101011010100010100001001011011101110111010101011100011111011000000010100101010011011010110000111010110011101101100001110101000110111011110111111011101111001111011111011111011101000011001111110110011100101001111000110111001100101111011011110100000010010111011001101010001011000010111111001...

output:

552712832

result:

ok answer is '552712832'

Test #20:

score: -100
Wrong Answer
time: 17ms
memory: 16332kb

input:

1500
691 000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

345668483

result:

wrong answer expected '64511838', found '345668483'