QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#649162#9188. Light Bulbsucup-team340711 31ms4208kbC++146.2kb2024-10-17 21:55:032024-10-17 21:55:03

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 11
Accepted

Test #1:

score: 11
Accepted
time: 3ms
memory: 3864kb

input:

3
6
3

output:

?
011
000
111
?
000
111
000
!
010
100
100

result:

points 1.0 points  1.0 correct, 2 queries

Test #2:

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

input:

3
9
6
6
9
6
6
6

output:

?
011
000
111
?
000
000
110
?
000
000
101
?
011
111
000
?
011
000
000
?
000
110
000
?
000
101
000
!
011
100
000

result:

points 1.0 points  1.0 correct, 7 queries

Test #3:

score: 11
Accepted
time: 7ms
memory: 4160kb

input:

3
7
7
5
3
8
3
5

output:

?
011
000
111
?
010
011
010
?
000
000
110
?
000
000
101
?
110
011
000
?
011
000
000
?
000
110
000
!
010
100
100

result:

points 1.0 points  1.0 correct, 7 queries

Test #4:

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

input:

3
9
5
5
5
5
3

output:

?
011
000
111
?
000
000
110
?
000
000
101
?
000
111
000
?
000
101
000
?
000
110
000
!
011
000
100

result:

points 1.0 points  1.0 correct, 6 queries

Test #5:

score: 11
Accepted
time: 7ms
memory: 3856kb

input:

3
8
9
7
9
7
6

output:

?
011
000
111
?
111
001
001
?
100
100
011
?
100
111
001
?
010
010
110
?
000
110
000
!
100
001
010

result:

points 1.0 points  1.0 correct, 6 queries

Test #6:

score: 11
Accepted
time: 5ms
memory: 3920kb

input:

3
7
6
3
6
6
6

output:

?
011
000
111
?
010
011
010
?
000
000
101
?
011
000
000
?
000
110
000
?
110
000
000
!
111
000
000

result:

points 1.0 points  1.0 correct, 6 queries

Test #7:

score: 11
Accepted
time: 2ms
memory: 4128kb

input:

3
9
5
5
5
5
5

output:

?
011
000
111
?
000
000
110
?
000
000
101
?
000
111
000
?
000
101
000
?
000
110
000
!
011
100
000

result:

points 1.0 points  1.0 correct, 6 queries

Test #8:

score: 11
Accepted
time: 7ms
memory: 4140kb

input:

3
7
7
3
3
6
3
3
6

output:

?
011
000
111
?
010
011
010
?
000
000
110
?
000
000
101
?
011
000
000
?
000
011
000
?
000
110
000
?
110
000
000
!
111
000
000

result:

points 1.0 points  1.0 correct, 8 queries

Test #9:

score: 11
Accepted
time: 5ms
memory: 3916kb

input:

3
7
6
5
5
5

output:

?
011
000
111
?
010
011
010
?
000
000
101
?
000
110
000
?
110
000
000
!
100
100
100

result:

points 1.0 points  1.0 correct, 5 queries

Test #10:

score: 11
Accepted
time: 3ms
memory: 4020kb

input:

3
8
8
8
9
5
6
6

output:

?
011
000
111
?
111
001
001
?
110
110
100
?
011
011
010
?
000
000
110
?
000
000
101
?
101
000
000
!
010
100
010

result:

points 1.0 points  1.0 correct, 7 queries

Test #11:

score: 11
Accepted
time: 7ms
memory: 3852kb

input:

3
7
7
5
3
8
5
5

output:

?
011
000
111
?
010
011
010
?
000
000
110
?
000
000
101
?
110
011
000
?
011
000
000
?
000
110
000
!
100
010
100

result:

points 1.0 points  1.0 correct, 7 queries

Test #12:

score: 11
Accepted
time: 6ms
memory: 4072kb

input:

3
8
9
7
9
5
5

output:

?
011
000
111
?
111
001
001
?
100
100
011
?
100
111
001
?
010
010
110
?
000
101
000
!
001
001
100

result:

points 1.0 points  1.0 correct, 6 queries

Test #13:

score: 11
Accepted
time: 7ms
memory: 3912kb

input:

3
7
9
3
5
5
7
5
6

output:

?
011
000
111
?
010
011
010
?
000
000
110
?
000
000
101
?
011
000
000
?
100
110
000
?
000
101
000
?
000
110
000
!
100
001
100

result:

points 1.0 points  1.0 correct, 8 queries

Test #14:

score: 11
Accepted
time: 7ms
memory: 3848kb

input:

3
7
9
3
5
3
7
3
5

output:

?
011
000
111
?
010
011
010
?
000
000
110
?
000
000
101
?
011
000
000
?
100
110
000
?
000
101
000
?
110
000
000
!
010
100
100

result:

points 1.0 points  1.0 correct, 8 queries

Test #15:

score: 11
Accepted
time: 2ms
memory: 4048kb

input:

3
9
6
5
6
7
6

output:

?
011
000
111
?
000
000
110
?
000
000
101
?
011
000
000
?
000
111
000
?
000
101
000
!
011
100
000

result:

points 1.0 points  1.0 correct, 6 queries

Test #16:

score: 11
Accepted
time: 6ms
memory: 4140kb

input:

3
8
9
9
9
7
5

output:

?
011
000
111
?
111
001
001
?
100
100
011
?
011
101
010
?
001
111
000
?
101
000
000
!
100
100
010

result:

points 1.0 points  1.0 correct, 6 queries

Test #17:

score: 11
Accepted
time: 6ms
memory: 4068kb

input:

3
8
9
9
9
8

output:

?
011
000
111
?
111
001
001
?
100
100
011
?
011
101
010
?
001
111
000
!
001
010
100

result:

points 1.0 points  1.0 correct, 5 queries

Subtask #2:

score: 0
Runtime Error

Dependency #1:

100%
Accepted

Test #18:

score: 11
Accepted
time: 1ms
memory: 3904kb

input:

3
6
3

output:

?
011
000
111
?
000
111
000
!
010
100
100

result:

points 1.0 points  1.0 correct, 2 queries

Test #19:

score: 11
Accepted
time: 5ms
memory: 3832kb

input:

3
9
6
6
9
6
6
6

output:

?
011
000
111
?
000
000
110
?
000
000
101
?
011
111
000
?
011
000
000
?
000
110
000
?
000
101
000
!
011
100
000

result:

points 1.0 points  1.0 correct, 7 queries

Test #20:

score: 11
Accepted
time: 6ms
memory: 4144kb

input:

3
7
7
5
3
8
3
5

output:

?
011
000
111
?
010
011
010
?
000
000
110
?
000
000
101
?
110
011
000
?
011
000
000
?
000
110
000
!
010
100
100

result:

points 1.0 points  1.0 correct, 7 queries

Test #21:

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

input:

3
9
5
5
5
5
3

output:

?
011
000
111
?
000
000
110
?
000
000
101
?
000
111
000
?
000
101
000
?
000
110
000
!
011
000
100

result:

points 1.0 points  1.0 correct, 6 queries

Test #22:

score: 11
Accepted
time: 6ms
memory: 3844kb

input:

3
8
9
7
9
7
6

output:

?
011
000
111
?
111
001
001
?
100
100
011
?
100
111
001
?
010
010
110
?
000
110
000
!
100
001
010

result:

points 1.0 points  1.0 correct, 6 queries

Test #23:

score: 11
Accepted
time: 5ms
memory: 3844kb

input:

3
7
6
3
6
6
6

output:

?
011
000
111
?
010
011
010
?
000
000
101
?
011
000
000
?
000
110
000
?
110
000
000
!
111
000
000

result:

points 1.0 points  1.0 correct, 6 queries

Test #24:

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

input:

3
9
5
5
5
5
5

output:

?
011
000
111
?
000
000
110
?
000
000
101
?
000
111
000
?
000
101
000
?
000
110
000
!
011
100
000

result:

points 1.0 points  1.0 correct, 6 queries

Test #25:

score: 11
Accepted
time: 7ms
memory: 3872kb

input:

3
7
7
3
3
6
3
3
6

output:

?
011
000
111
?
010
011
010
?
000
000
110
?
000
000
101
?
011
000
000
?
000
011
000
?
000
110
000
?
110
000
000
!
111
000
000

result:

points 1.0 points  1.0 correct, 8 queries

Test #26:

score: 11
Accepted
time: 5ms
memory: 3912kb

input:

3
7
6
5
5
5

output:

?
011
000
111
?
010
011
010
?
000
000
101
?
000
110
000
?
110
000
000
!
100
100
100

result:

points 1.0 points  1.0 correct, 5 queries

Test #27:

score: 11
Accepted
time: 6ms
memory: 3908kb

input:

3
8
8
8
9
5
6
6

output:

?
011
000
111
?
111
001
001
?
110
110
100
?
011
011
010
?
000
000
110
?
000
000
101
?
101
000
000
!
010
100
010

result:

points 1.0 points  1.0 correct, 7 queries

Test #28:

score: 11
Accepted
time: 3ms
memory: 3804kb

input:

3
7
7
5
3
8
5
5

output:

?
011
000
111
?
010
011
010
?
000
000
110
?
000
000
101
?
110
011
000
?
011
000
000
?
000
110
000
!
100
010
100

result:

points 1.0 points  1.0 correct, 7 queries

Test #29:

score: 11
Accepted
time: 6ms
memory: 4140kb

input:

3
8
9
7
9
5
5

output:

?
011
000
111
?
111
001
001
?
100
100
011
?
100
111
001
?
010
010
110
?
000
101
000
!
001
001
100

result:

points 1.0 points  1.0 correct, 6 queries

Test #30:

score: 11
Accepted
time: 7ms
memory: 3840kb

input:

3
7
9
3
5
5
7
5
6

output:

?
011
000
111
?
010
011
010
?
000
000
110
?
000
000
101
?
011
000
000
?
100
110
000
?
000
101
000
?
000
110
000
!
100
001
100

result:

points 1.0 points  1.0 correct, 8 queries

Test #31:

score: 11
Accepted
time: 7ms
memory: 3844kb

input:

3
7
9
3
5
3
7
3
5

output:

?
011
000
111
?
010
011
010
?
000
000
110
?
000
000
101
?
011
000
000
?
100
110
000
?
000
101
000
?
110
000
000
!
010
100
100

result:

points 1.0 points  1.0 correct, 8 queries

Test #32:

score: 11
Accepted
time: 2ms
memory: 3904kb

input:

3
9
6
5
6
7
6

output:

?
011
000
111
?
000
000
110
?
000
000
101
?
011
000
000
?
000
111
000
?
000
101
000
!
011
100
000

result:

points 1.0 points  1.0 correct, 6 queries

Test #33:

score: 11
Accepted
time: 6ms
memory: 3852kb

input:

3
8
9
9
9
7
5

output:

?
011
000
111
?
111
001
001
?
100
100
011
?
011
101
010
?
001
111
000
?
101
000
000
!
100
100
010

result:

points 1.0 points  1.0 correct, 6 queries

Test #34:

score: 11
Accepted
time: 6ms
memory: 4076kb

input:

3
8
9
9
9
8

output:

?
011
000
111
?
111
001
001
?
100
100
011
?
011
101
010
?
001
111
000
!
001
010
100

result:

points 1.0 points  1.0 correct, 5 queries

Test #35:

score: 11
Accepted
time: 8ms
memory: 3908kb

input:

10
50
70
30
20
10

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0000000000
0010000100
0000000100
0000000001
0000000100
0000000000
0100000000
0100000000
0000000100
?
0001001000
0000000000
0000000000
0000000000
0000000000
0000001000
00000010...

result:

points 1.0 points  1.0 correct, 5 queries

Test #36:

score: 11
Accepted
time: 8ms
memory: 3912kb

input:

10
50
40
30
40
10

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0000000000
0010000100
0000000100
0000000001
0000000100
0000000000
0100000000
0100000000
0000000100
?
0000000000
0000000000
0000000000
0000000000
1000000000
1000001000
00000000...

result:

points 1.0 points  1.0 correct, 5 queries

Test #37:

score: 11
Accepted
time: 5ms
memory: 3912kb

input:

10
50
70
30
20
10

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0000000000
0010000100
0000000100
0000000001
0000000100
0000000000
0100000000
0100000000
0000000100
?
0001001000
0000000000
0000000000
0000000000
0000000000
0000001000
00000010...

result:

points 1.0 points  1.0 correct, 5 queries

Test #38:

score: 11
Accepted
time: 20ms
memory: 4156kb

input:

10
52
46
73
64
60
68
58
64
60
10
10
19
19

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0001000000
0000000000
0000000000
0000000001
0000001100
0000000000
0100000000
0000000000
0000000100
?
0000101000
0001000000
0000000000
0000000000
0000000001
0000000100
01000000...

result:

points 1.0 points  1.0 correct, 13 queries

Test #39:

score: 11
Accepted
time: 18ms
memory: 3920kb

input:

10
50
73
46
44
37
44
44
36
10
19

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0000000000
0010000100
0000000100
0000000001
0000000100
0000000000
0100000000
0100000000
0000000100
?
0000001000
0000000000
0110010000
0000000000
0000000000
0000001000
00010000...

result:

points 1.0 points  1.0 correct, 10 queries

Test #40:

score: 11
Accepted
time: 12ms
memory: 3868kb

input:

10
52
46
70
86
20
19

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0001000000
0000000000
0000000000
0000000001
0000001100
0000000000
0100000000
0000000000
0000000100
?
0000101000
0001000000
0000000000
0000000000
0000000001
0000000100
01000000...

result:

points 1.0 points  1.0 correct, 6 queries

Test #41:

score: 11
Accepted
time: 8ms
memory: 3848kb

input:

8
50
24
22
22
15
8
15

output:

?
00000100
00000000
00010000
00010001
00000100
01000000
00000010
00000000
?
00000000
00010001
00000000
00010000
00000000
00000000
00000000
00010100
?
00000000
00000000
00000000
10110101
00000000
00000000
00000000
00001000
?
00000000
00011011
00000000
00001000
00000000
00000000
00000000
01011100
?
00...

result:

points 1.0 points  1.0 correct, 7 queries

Test #42:

score: 11
Accepted
time: 29ms
memory: 3956kb

input:

10
52
44
46
46
64
44
37
58
52
58
10
10
37
28
10

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0001000000
0000000000
0000000000
0000000001
0000001100
0000000000
0100000000
0000000000
0000000100
?
0000101000
0001000000
0000000000
0000000000
0000010000
0000000100
00000000...

result:

points 1.0 points  1.0 correct, 15 queries

Test #43:

score: 11
Accepted
time: 17ms
memory: 3928kb

input:

9
46
53
49
32
53
46
65
17
17
18
18

output:

?
000000000
000000000
000000001
000000000
000000000
010000100
000000011
000000000
000001010
?
000000000
000000000
000000000
000000000
000000000
010001100
100000011
000000000
000001010
?
000001000
010000000
000000001
000000000
000100000
000001100
100000001
000000000
000001000
?
000100000
010000000
00...

result:

points 1.0 points  1.0 correct, 11 queries

Test #44:

score: 11
Accepted
time: 31ms
memory: 4208kb

input:

10
55
60
55
51
72
44
58
65
46
36
36
20
19
37
19
19

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000001000
0001000000
0010000100
0000000000
0000010000
0000001000
0000000000
0000000000
0100000000
0000000100
?
0000001001
0001000000
0000000100
0000000000
0000010001
0000000100
00000000...

result:

points 1.0 points  1.0 correct, 16 queries

Test #45:

score: 11
Accepted
time: 31ms
memory: 3872kb

input:

10
52
52
52
60
44
58
58
51
51
44
44
60
10
20

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0001000000
0000000000
0000000000
0000000001
0000001100
0000000000
0100000000
0000000000
0000000100
?
0000101000
0000000000
0000000000
0000000000
0000000001
0000001000
01000000...

result:

points 1.0 points  1.0 correct, 14 queries

Test #46:

score: 11
Accepted
time: 28ms
memory: 3944kb

input:

10
44
46
46
65
80
64
58
51
65
72
65
20
20
20
19
20

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0000000000
0000000100
0000000000
0000010001
0000001100
0000000000
0100000000
0000000000
0000000100
?
0000001000
0000100000
0000000100
0000000000
0000010000
0000000100
00100000...

result:

points 1.0 points  1.0 correct, 16 queries

Test #47:

score: 11
Accepted
time: 12ms
memory: 3920kb

input:

10
50
46
46
55
37
28

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0000000000
0010000100
0000000100
0000000001
0000000100
0000000000
0100000000
0100000000
0000000100
?
0000001000
0000000000
0000000100
0000000000
1000000000
1000001100
00000000...

result:

points 1.0 points  1.0 correct, 6 queries

Test #48:

score: 11
Accepted
time: 11ms
memory: 3912kb

input:

10
50
70
36
20
55
10
20
20
20

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0000000000
0010000100
0000000100
0000000001
0000000100
0000000000
0100000000
0100000000
0000000100
?
0001001000
0000000000
0000000000
0000000000
0000000000
0000001000
00000010...

result:

points 1.0 points  1.0 correct, 9 queries

Test #49:

score: 11
Accepted
time: 13ms
memory: 4120kb

input:

10
50
64
28
44
37
64
10
20

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0000000000
0010000100
0000000100
0000000001
0000000100
0000000000
0100000000
0100000000
0000000100
?
0000001000
0000000000
0000000000
0100000000
0000000000
1000001100
00000000...

result:

points 1.0 points  1.0 correct, 8 queries

Test #50:

score: 11
Accepted
time: 23ms
memory: 3868kb

input:

10
50
64
44
44
44
44
44
44
65
10
10
20
20

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0000000000
0010000100
0000000100
0000000001
0000000100
0000000000
0100000000
0100000000
0000000100
?
0000001000
0000000000
0000000000
0100000000
0000000000
1000001100
00000000...

result:

points 1.0 points  1.0 correct, 13 queries

Test #51:

score: 11
Accepted
time: 15ms
memory: 3916kb

input:

10
50
40
44
44
44
51
19
19
19
19
19
19

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0000000000
0010000100
0000000100
0000000001
0000000100
0000000000
0100000000
0100000000
0000000100
?
0000000000
0000000000
0000000000
0000000000
1000000000
1000001000
00000000...

result:

points 1.0 points  1.0 correct, 12 queries

Test #52:

score: 11
Accepted
time: 25ms
memory: 3816kb

input:

10
52
46
65
65
65
44
44
51
60
19
19
19

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0001000000
0000000000
0000000000
0000000001
0000001100
0000000000
0100000000
0000000000
0000000100
?
0000101000
0001000000
0000000000
0000000000
0000000001
0000000100
01000000...

result:

points 1.0 points  1.0 correct, 12 queries

Test #53:

score: 11
Accepted
time: 17ms
memory: 4160kb

input:

10
46
50
46
30
58
52
60
20
20
20
19
19

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0001000000
0000000100
0000000000
0000010000
0000001100
0000000000
0100000000
0100000000
0000000100
?
0000001000
0000100001
0000000000
0000000000
0000000000
1000000000
00100000...

result:

points 1.0 points  1.0 correct, 12 queries

Test #54:

score: 11
Accepted
time: 23ms
memory: 3872kb

input:

10
46
68
68
55
44
44
51
58
58
19
20
19
20
20
20
20

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0001000000
0000000100
0000000000
0000010000
0000001100
0000000000
0100000000
0100000000
0000000100
?
0000001000
0001100000
0000000000
0000000000
0000000000
1000001100
00100000...

result:

points 1.0 points  1.0 correct, 16 queries

Test #55:

score: 11
Accepted
time: 24ms
memory: 3920kb

input:

10
52
44
60
64
73
58
60
58
36
19
20
19
19

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0001000000
0000000000
0000000000
0000000001
0000001100
0000000000
0100000000
0000000000
0000000100
?
0000101000
0001000000
0000000000
0000000000
0000010000
0000000100
00000000...

result:

points 1.0 points  1.0 correct, 13 queries

Test #56:

score: 11
Accepted
time: 21ms
memory: 3812kb

input:

10
52
46
73
64
55
58
44
58
10
10
10
20
19
20

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0001000000
0000000000
0000000000
0000000001
0000001100
0000000000
0100000000
0000000000
0000000100
?
0000101000
0001000000
0000000000
0000000000
0000000001
0000000100
01000000...

result:

points 1.0 points  1.0 correct, 14 queries

Test #57:

score: 11
Accepted
time: 21ms
memory: 3864kb

input:

10
44
44
58
36
65
58
72
36
36
19
19
36
30

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0000000000
0000000100
0000000000
0000010001
0000001100
0000000000
0100000000
0000000000
0000000100
?
0000001000
0000000000
0000000100
0000000000
0000000001
0000001000
00100000...

result:

points 1.0 points  1.0 correct, 13 queries

Test #58:

score: 11
Accepted
time: 28ms
memory: 3944kb

input:

10
51
58
70
65
58
79
72
46
51
19
19
20
19
20
19

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0001000000
0000000100
0000000000
0000000000
0000001100
0000000000
0100000000
0100000000
0000000100
?
0000001000
0001000000
0000000000
0000000000
0000010001
1000001100
00100000...

result:

points 1.0 points  1.0 correct, 15 queries

Test #59:

score: 11
Accepted
time: 26ms
memory: 4088kb

input:

10
51
52
51
51
72
52
36
44
58
20
20
20
19
19
19
19

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0001000000
0000000100
0000000000
0000000000
0000001100
0000000000
0100000000
0100000000
0000000100
?
0000000000
0001000000
0000000000
0000000000
0000010001
1000001100
00000000...

result:

points 1.0 points  1.0 correct, 16 queries

Test #60:

score: 11
Accepted
time: 24ms
memory: 3924kb

input:

10
50
73
51
37
60
28
52
52
44
10
10
19
10
19
10

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0000000000
0010000100
0000000100
0000000001
0000000100
0000000000
0100000000
0100000000
0000000100
?
0000001000
0000000000
0110010000
0000000000
0000000000
0000001000
00010000...

result:

points 1.0 points  1.0 correct, 15 queries

Test #61:

score: 11
Accepted
time: 9ms
memory: 3936kb

input:

10
50
73
46
37
40
19
10
10
10

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0000000000
0010000100
0000000100
0000000001
0000000100
0000000000
0100000000
0100000000
0000000100
?
0000001000
0000000000
0110010000
0000000000
0000000000
0000001000
00010000...

result:

points 1.0 points  1.0 correct, 9 queries

Test #62:

score: 11
Accepted
time: 14ms
memory: 3812kb

input:

10
50
37
30
40
28
37
20

output:

?
0000000000
0001000000
0000000000
0000000000
0000010001
0000000000
0000000000
0100000000
0100000000
0000000100
?
0000000000
0000000000
0010000100
0000000100
0000000001
0000000100
0000000000
0100000000
0100000000
0000000100
?
0000000000
0000000000
0000000000
0000000000
1000000000
1000001000
00000000...

result:

points 1.0 points  1.0 correct, 7 queries

Test #63:

score: 11
Accepted
time: 10ms
memory: 3812kb

input:

9
45
41
49
27
18
18

output:

?
000000000
000000000
000000001
000000000
000000000
010000100
000000011
000000000
000001010
?
000000000
000000000
000000001
000000000
000000000
010101100
000000000
000000000
000000000
?
000000000
000000000
000000001
000000000
000000000
000001000
100000011
000000100
000001000
?
000000000
001010000
00...

result:

points 1.0 points  1.0 correct, 6 queries

Test #64:

score: 11
Accepted
time: 8ms
memory: 3908kb

input:

9
36
27
39
33
17
9

output:

?
000000000
000000000
000000001
000000000
000000000
010000100
000000011
000000000
000001010
?
000000000
000100000
000000000
000000000
000000001
000000000
000000000
001101000
000000000
?
100100000
000000000
000000000
001100000
000100000
000000000
000000000
000000000
000000000
?
100101010
000000000
00...

result:

points 1.0 points  1.0 correct, 6 queries

Test #65:

score: 11
Accepted
time: 14ms
memory: 4120kb

input:

8
40
40
49
50
50
16
16
16

output:

?
00000100
00000000
00010000
00010001
00000100
01000000
00000010
00000000
?
00000100
00000010
00010000
00010000
00000100
01010000
00000010
00000000
?
00000000
00001010
00110000
01010001
00000000
01000000
00000010
00000000
?
00000100
00000010
00110000
00100001
00000100
01000000
00000000
00000000
?
00...

result:

points 1.0 points  1.0 correct, 8 queries

Test #66:

score: 11
Accepted
time: 11ms
memory: 3932kb

input:

8
46
57
43
15
16

output:

?
00000100
00000000
00010000
00010001
00000100
01000000
00000010
00000000
?
00000100
00000010
00010000
00000001
00000010
01000000
00000010
00000100
?
00000000
00000010
00000000
00010001
00000110
01000000
00000000
00010000
?
00111101
00000000
00000000
00000000
00000000
00000000
00000010
00000000
?
00...

result:

points 1.0 points  1.0 correct, 5 queries

Test #67:

score: 0
Runtime Error

input:

7
34
39
39
34
29
13
13
13
14
7
0
0
0
7
7
0
7
0
0
0
0
7
7
7
0
7
0
7
7
0
0
0
7
7
0
7
7
7
0
0
0
7
0
7
0
7
7
0
0
7
7
0
0
0
7
0
7
0
0
0
0
0
0
7
0
0
0
0
0
7
0
7
7
0
7
7
0
0
7
0
7
7
0
7
0
0
0
7
7
7
7
0
7
7
7
0
7
0
0
0
0
7
7
0
0
7
7
7
7
0
7
7
0
0
7
7
7
7
0
0
0
0
7
7
0
0
7
0
0
7
7
7
7
7
0
7
0
7
7
7
0
0
7
7
0...

output:

?
0000000
0100000
0000100
1000000
0000000
0000000
0010011
?
0001000
0100100
0000100
1000000
0000000
0000000
1010011
?
0001001
0100000
0000000
0000000
0000000
0000000
1010011
?
0000000
0000000
0010101
0100000
1100000
0000000
0000001
?
0000100
0000100
0010100
0100000
1100000
0000000
0000001
?
0000000
...

result:


Subtask #3:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

0%