QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#561532#9188. Light BulbsLeafSeek98.608696 3234ms7924kbC++173.2kb2024-09-12 23:32:092024-09-12 23:32:10

詳細信息

Subtask #1:

score: 11
Accepted

Test #1:

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

input:

3
3
3
9
9
9
9
6

output:

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

result:

points 1.0 points  1.0 correct, 7 queries

Test #2:

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

input:

3
9
6
9
9
9
9
6

output:

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

result:

points 1.0 points  1.0 correct, 7 queries

Test #3:

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

input:

3
5
3
8
9
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 7 queries

Test #4:

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

input:

3
7
6
9
9
9
9
8

output:

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

result:

points 1.0 points  1.0 correct, 7 queries

Test #5:

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

input:

3
5
5
9
8
8
7
7
9
9
9
7
9
9
9
7
8
8
8
9

output:

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

result:

points 1.0 points  1.0 correct, 19 queries

Test #6:

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

input:

3
9
6
9
9
9
9
7
9
9
9
9
9
9
9
7
9
9
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 20 queries

Test #7:

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

input:

3
9
6
9
9
9
8
7
8

output:

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

result:

points 1.0 points  1.0 correct, 8 queries

Test #8:

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

input:

3
9
6
9
9
9
8
7
8

output:

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

result:

points 1.0 points  1.0 correct, 8 queries

Test #9:

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

input:

3
7
6
8
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 6 queries

Test #10:

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

input:

3
7
5
9
9
9
8
9
9
9
9
9
9
9
9
8
8
9
8
9
9
9
9
9

output:

?
111
000
000
?
011
000
000
?
111
010
011
?
111
001
011
?
111
001
011
?
110
001
001
?
010
011
011
?
101
011
001
?
111
011
010
?
111
011
011
?
110
001
011
?
111
011
010
?
111
011
011
?
111
011
001
?
000
011
011
?
111
001
001
?
111
001
011
?
111
000
011
?
110
011
001
?
110
011
010
?
110
010
011
?
101
...

result:

points 1.0 points  1.0 correct, 23 queries

Test #11:

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

input:

3
5
5
9
9
9
7
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 9 queries

Test #12:

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

input:

3
7
5
9
9
9
9
8
9
9
9
9
9
9
9
8
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 18 queries

Test #13:

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

input:

3
5
5
9
9
9
8
8
9
9
9
8

output:

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

result:

points 1.0 points  1.0 correct, 11 queries

Test #14:

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

input:

3
5
3
9
9
9
8
9
9
9
9
9
9
9
9
8
8
9
8
9
9
9
9
9

output:

?
111
000
000
?
011
000
000
?
111
010
011
?
111
001
011
?
111
001
011
?
110
001
001
?
010
011
011
?
101
011
001
?
111
011
010
?
111
011
011
?
110
001
011
?
111
011
010
?
111
011
011
?
111
011
001
?
000
011
011
?
111
001
001
?
111
001
011
?
111
000
011
?
110
011
001
?
110
011
010
?
110
010
011
?
101
...

result:

points 1.0 points  1.0 correct, 23 queries

Test #15:

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

input:

3
7
6
9
9
9
7
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 9 queries

Test #16:

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

input:

3
5
5
9
9
9
9
7
9
9
9
9
9
9
9
7
9
9
9
9
9
9
9
8

output:

?
111
000
000
?
011
000
000
?
100
111
011
?
100
110
111
?
100
110
111
?
100
100
101
?
000
101
111
?
100
011
101
?
100
111
110
?
100
111
111
?
100
100
111
?
100
111
110
?
100
111
111
?
100
111
101
?
000
001
111
?
100
110
101
?
100
110
111
?
100
110
011
?
100
101
101
?
100
101
110
?
100
101
011
?
100
...

result:

points 1.0 points  1.0 correct, 23 queries

Test #17:

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

input:

3
7
5
9
9
9
9
7
8

output:

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

result:

points 1.0 points  1.0 correct, 8 queries

Subtask #2:

score: 11
Accepted

Dependency #1:

100%
Accepted

Test #18:

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

input:

3
3
3
9
9
9
9
6

output:

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

result:

points 1.0 points  1.0 correct, 7 queries

Test #19:

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

input:

3
9
6
9
9
9
9
6

output:

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

result:

points 1.0 points  1.0 correct, 7 queries

Test #20:

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

input:

3
5
3
8
9
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 7 queries

Test #21:

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

input:

3
7
6
9
9
9
9
8

output:

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

result:

points 1.0 points  1.0 correct, 7 queries

Test #22:

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

input:

3
5
5
9
8
8
7
7
9
9
9
7
9
9
9
7
8
8
8
9

output:

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

result:

points 1.0 points  1.0 correct, 19 queries

Test #23:

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

input:

3
9
6
9
9
9
9
7
9
9
9
9
9
9
9
7
9
9
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 20 queries

Test #24:

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

input:

3
9
6
9
9
9
8
7
8

output:

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

result:

points 1.0 points  1.0 correct, 8 queries

Test #25:

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

input:

3
9
6
9
9
9
8
7
8

output:

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

result:

points 1.0 points  1.0 correct, 8 queries

Test #26:

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

input:

3
7
6
8
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 6 queries

Test #27:

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

input:

3
7
5
9
9
9
8
9
9
9
9
9
9
9
9
8
8
9
8
9
9
9
9
9

output:

?
111
000
000
?
011
000
000
?
111
010
011
?
111
001
011
?
111
001
011
?
110
001
001
?
010
011
011
?
101
011
001
?
111
011
010
?
111
011
011
?
110
001
011
?
111
011
010
?
111
011
011
?
111
011
001
?
000
011
011
?
111
001
001
?
111
001
011
?
111
000
011
?
110
011
001
?
110
011
010
?
110
010
011
?
101
...

result:

points 1.0 points  1.0 correct, 23 queries

Test #28:

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

input:

3
5
5
9
9
9
7
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 9 queries

Test #29:

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

input:

3
7
5
9
9
9
9
8
9
9
9
9
9
9
9
8
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 18 queries

Test #30:

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

input:

3
5
5
9
9
9
8
8
9
9
9
8

output:

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

result:

points 1.0 points  1.0 correct, 11 queries

Test #31:

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

input:

3
5
3
9
9
9
8
9
9
9
9
9
9
9
9
8
8
9
8
9
9
9
9
9

output:

?
111
000
000
?
011
000
000
?
111
010
011
?
111
001
011
?
111
001
011
?
110
001
001
?
010
011
011
?
101
011
001
?
111
011
010
?
111
011
011
?
110
001
011
?
111
011
010
?
111
011
011
?
111
011
001
?
000
011
011
?
111
001
001
?
111
001
011
?
111
000
011
?
110
011
001
?
110
011
010
?
110
010
011
?
101
...

result:

points 1.0 points  1.0 correct, 23 queries

Test #32:

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

input:

3
7
6
9
9
9
7
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 9 queries

Test #33:

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

input:

3
5
5
9
9
9
9
7
9
9
9
9
9
9
9
7
9
9
9
9
9
9
9
8

output:

?
111
000
000
?
011
000
000
?
100
111
011
?
100
110
111
?
100
110
111
?
100
100
101
?
000
101
111
?
100
011
101
?
100
111
110
?
100
111
111
?
100
100
111
?
100
111
110
?
100
111
111
?
100
111
101
?
000
001
111
?
100
110
101
?
100
110
111
?
100
110
011
?
100
101
101
?
100
101
110
?
100
101
011
?
100
...

result:

points 1.0 points  1.0 correct, 23 queries

Test #34:

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

input:

3
7
5
9
9
9
9
7
8

output:

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

result:

points 1.0 points  1.0 correct, 8 queries

Test #35:

score: 11
Accepted
time: 58ms
memory: 5832kb

input:

10
10
10
40
70
80
100

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 6 queries

Test #36:

score: 11
Accepted
time: 149ms
memory: 5880kb

input:

10
100
90
50
70
80
70
90
100
100
90

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 10 queries

Test #37:

score: 11
Accepted
time: 146ms
memory: 5908kb

input:

10
10
10
40
72
84
93
92
94
93

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 9 queries

Test #38:

score: 11
Accepted
time: 445ms
memory: 6024kb

input:

10
28
19
51
52
79
86
94
94
95
90
100
100
94
100
100
94
100
100
100
100
97

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 21 queries

Test #39:

score: 11
Accepted
time: 631ms
memory: 6040kb

input:

10
64
55
46
64
84
82
86
100
100
100
100
95
95
100
100
100
100
100
100
100
100
100
100
100
96
100
100
100
100
100
100
100
100
94
95

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 35 queries

Test #40:

score: 11
Accepted
time: 254ms
memory: 5916kb

input:

10
37
37
44
65
84
80
85
85
94
100
92
97
98
95

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 14 queries

Test #41:

score: 11
Accepted
time: 192ms
memory: 6156kb

input:

8
22
15
40
39
52
56
60
56
62
64
64
64

output:

?
11111111
00000000
00000000
00000000
00000000
00000000
00000000
00000000
?
01111111
00000000
00000000
00000000
00000000
00000000
00000000
00000000
?
10000100
01000000
00000000
00100000
01000000
00000000
00000000
01010000
?
11000100
01000000
00000000
00000100
00001000
00000000
00000000
01010000
?
11...

result:

points 1.0 points  1.0 correct, 12 queries

Test #42:

score: 11
Accepted
time: 108ms
memory: 5960kb

input:

10
55
46
52
58
58
82
99
96
90
80

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 10 queries

Test #43:

score: 11
Accepted
time: 212ms
memory: 6148kb

input:

9
73
72
53
51
65
73
78
80
75
81
81
79
81
81
81
80
79
75
80
81
80
75
81
81
77

output:

?
111111111
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
?
011111111
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
?
100000000
000000000
010000000
000000000
000000010
000000011
000000000
000000001
001000000
?
000000000
100001000
01...

result:

points 1.0 points  1.0 correct, 25 queries

Test #44:

score: 11
Accepted
time: 203ms
memory: 5908kb

input:

10
73
73
58
58
76
82
90
95
100
97
95
100
100
96

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 14 queries

Test #45:

score: 11
Accepted
time: 278ms
memory: 5916kb

input:

10
73
73
51
65
76
88
91
88
97
92
100
97
92
98
96

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 15 queries

Test #46:

score: 11
Accepted
time: 130ms
memory: 5876kb

input:

10
82
73
55
73
100
88
86
93
88
88
88
79
88
80

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 14 queries

Test #47:

score: 11
Accepted
time: 146ms
memory: 5944kb

input:

10
100
90
50
64
84
92
84
92
100
92

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 10 queries

Test #48:

score: 11
Accepted
time: 131ms
memory: 5888kb

input:

10
100
90
46
60
80
84
73
96
94
99

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 10 queries

Test #49:

score: 11
Accepted
time: 155ms
memory: 5880kb

input:

10
10
10
40
64
82
76
82
86
94
95
100

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 11 queries

Test #50:

score: 11
Accepted
time: 118ms
memory: 5744kb

input:

10
10
10
44
50
79
88
95
92
98
98

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 10 queries

Test #51:

score: 11
Accepted
time: 164ms
memory: 6220kb

input:

10
91
90
55
76
79
95
96
95
88
88
98
94
95
94
96

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 15 queries

Test #52:

score: 11
Accepted
time: 120ms
memory: 5964kb

input:

10
91
82
50
64
76
94
84
88
100

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 9 queries

Test #53:

score: 11
Accepted
time: 249ms
memory: 5996kb

input:

10
91
82
58
64
86
79
88
94
91
94
88
97
96
96

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 14 queries

Test #54:

score: 11
Accepted
time: 207ms
memory: 6108kb

input:

10
28
19
52
52
84
79
94
90
95
94
90
97
96
96
98

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 15 queries

Test #55:

score: 11
Accepted
time: 281ms
memory: 5892kb

input:

10
91
82
58
68
70
79
85
92
96
98
95
94
97
91
98

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 15 queries

Test #56:

score: 11
Accepted
time: 80ms
memory: 5904kb

input:

10
10
10
40
64
82
73
88
95
100
94

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 10 queries

Test #57:

score: 11
Accepted
time: 207ms
memory: 5832kb

input:

10
55
46
44
65
84
82
92
88
98
91
98
98
100
100
94
97

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 16 queries

Test #58:

score: 11
Accepted
time: 236ms
memory: 6160kb

input:

10
55
55
52
60
80
80
91
80
90
100
100
98
100
100
76

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 15 queries

Test #59:

score: 11
Accepted
time: 236ms
memory: 5840kb

input:

10
64
55
51
52
76
80
90
82
96
94
96
91
96
99
99
100
100
100

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 18 queries

Test #60:

score: 11
Accepted
time: 344ms
memory: 6036kb

input:

10
55
55
58
58
70
95
92
88
88
94
96
98
96
98
98
98
100
97
98
98

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 20 queries

Test #61:

score: 11
Accepted
time: 143ms
memory: 6080kb

input:

10
19
10
46
60
82
73
100
92
100
76

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 10 queries

Test #62:

score: 11
Accepted
time: 103ms
memory: 5912kb

input:

10
91
90
60
64
88
79
94
93

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 8 queries

Test #63:

score: 11
Accepted
time: 273ms
memory: 5960kb

input:

9
73
72
41
65
73
75
73
75
81
81
81
81
81
81
77

output:

?
111111111
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
?
011111111
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
?
100000000
000000000
010000000
000000000
000000010
000000011
000000000
000000001
001000000
?
000000000
100100000
10...

result:

points 1.0 points  1.0 correct, 15 queries

Test #64:

score: 11
Accepted
time: 211ms
memory: 5936kb

input:

9
17
9
51
51
69
67
81
75
67
81
81
81
75

output:

?
111111111
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
?
011111111
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
?
100000000
000100000
000000000
000000000
000100000
000011000
000000000
000000010
001000000
?
110000000
000000000
00...

result:

points 1.0 points  1.0 correct, 13 queries

Test #65:

score: 11
Accepted
time: 218ms
memory: 6088kb

input:

8
57
56
46
46
52
54
56
59
64
64
60
64
64
60
64
64
64
61
49

output:

?
11111111
00000000
00000000
00000000
00000000
00000000
00000000
00000000
?
01111111
00000000
00000000
00000000
00000000
00000000
00000000
00000000
?
10000000
00001001
00000000
00000010
00001000
00000000
00000000
01010000
?
00000000
10001000
00000000
00000010
00001000
01010000
00000000
00010001
?
10...

result:

points 1.0 points  1.0 correct, 19 queries

Test #66:

score: 11
Accepted
time: 124ms
memory: 5880kb

input:

8
15
8
40
39
44
46
64
58
59

output:

?
11111111
00000000
00000000
00000000
00000000
00000000
00000000
00000000
?
01111111
00000000
00000000
00000000
00000000
00000000
00000000
00000000
?
10000100
01000000
00000000
00100000
01000000
00000000
00000000
01010000
?
11000100
01000000
00000000
00000100
00001000
00000000
00000000
01010000
?
11...

result:

points 1.0 points  1.0 correct, 9 queries

Test #67:

score: 11
Accepted
time: 126ms
memory: 5984kb

input:

7
43
42
31
28
49
44
49
49

output:

?
1111111
0000000
0000000
0000000
0000000
0000000
0000000
?
0111111
0000000
0000000
0000000
0000000
0000000
0000000
?
1000000
0001100
0000001
0000000
0000000
0100100
0000100
?
0000000
0001100
0001010
0000100
0000000
0101100
0000000
?
1000000
0001111
1101011
1001100
0011000
0001100
0000101
?
1000000
...

result:

points 1.0 points  1.0 correct, 8 queries

Test #68:

score: 11
Accepted
time: 66ms
memory: 5852kb

input:

7
13
7
34
43
49

output:

?
1111111
0000000
0000000
0000000
0000000
0000000
0000000
?
0111111
0000000
0000000
0000000
0000000
0000000
0000000
?
1000110
0000000
0010000
0000000
0000001
0001000
0000100
?
1000001
0001000
0100000
0000000
0100001
0010000
0000100
?
1000111
0100010
0100000
0000010
0100001
0010000
0000110
!
0000100
...

result:

points 1.0 points  1.0 correct, 5 queries

Test #69:

score: 11
Accepted
time: 176ms
memory: 6156kb

input:

10
91
82
36
72
84
88
90
92
95
100
96
98
100
98
97

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 15 queries

Test #70:

score: 11
Accepted
time: 227ms
memory: 6024kb

input:

10
64
55
44
44
73
80
85
97
94
98
100
99
97

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 13 queries

Test #71:

score: 11
Accepted
time: 150ms
memory: 5864kb

input:

10
73
73
52
58
79
90
94
94
92
100

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 10 queries

Test #72:

score: 11
Accepted
time: 270ms
memory: 5948kb

input:

10
64
55
58
58
58
75
90
94
80
98
97
96
100
91

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 14 queries

Test #73:

score: 11
Accepted
time: 249ms
memory: 4192kb

input:

10
28
28
51
58
70
64
76
76
90
91
97
94
94
98
100
98
100
100

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 18 queries

Test #74:

score: 11
Accepted
time: 293ms
memory: 5940kb

input:

10
82
73
36
70
88
70
84
92
91
97
96
100
96
100
90
100
100
97
97

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 19 queries

Test #75:

score: 11
Accepted
time: 301ms
memory: 4040kb

input:

10
28
19
44
60
84
84
94
91
92
96
96
91
98
96
94
99
100
97

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 18 queries

Test #76:

score: 11
Accepted
time: 19ms
memory: 5720kb

input:

5
17
13
25
23
25
23
25
24
23
21
24

output:

?
11111
00000
00000
00000
00000
?
01111
00000
00000
00000
00000
?
10100
01000
00000
00110
00101
?
00100
01100
00100
00000
00111
?
10101
01100
00100
01110
00111
?
00100
01000
00100
00110
00111
?
10001
01100
00100
00010
00101
?
10001
01100
00100
01110
00110
?
10101
01100
00100
01100
00001
?
10101
0010...

result:

points 1.0 points  1.0 correct, 11 queries

Subtask #3:

score: 76.6087
Acceptable Answer

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Test #77:

score: 78
Accepted
time: 2ms
memory: 5676kb

input:

3
3
3
9
9
9
9
6

output:

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

result:

points 1.0 points  1.0 correct, 7 queries

Test #78:

score: 78
Accepted
time: 2ms
memory: 5680kb

input:

3
9
6
9
9
9
9
6

output:

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

result:

points 1.0 points  1.0 correct, 7 queries

Test #79:

score: 78
Accepted
time: 2ms
memory: 5712kb

input:

3
5
3
8
9
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 7 queries

Test #80:

score: 78
Accepted
time: 2ms
memory: 5624kb

input:

3
7
6
9
9
9
9
8

output:

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

result:

points 1.0 points  1.0 correct, 7 queries

Test #81:

score: 78
Accepted
time: 3ms
memory: 3672kb

input:

3
5
5
9
8
8
7
7
9
9
9
7
9
9
9
7
8
8
8
9

output:

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

result:

points 1.0 points  1.0 correct, 19 queries

Test #82:

score: 78
Accepted
time: 2ms
memory: 5640kb

input:

3
9
6
9
9
9
9
7
9
9
9
9
9
9
9
7
9
9
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 20 queries

Test #83:

score: 78
Accepted
time: 4ms
memory: 5624kb

input:

3
9
6
9
9
9
8
7
8

output:

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

result:

points 1.0 points  1.0 correct, 8 queries

Test #84:

score: 78
Accepted
time: 2ms
memory: 7924kb

input:

3
9
6
9
9
9
8
7
8

output:

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

result:

points 1.0 points  1.0 correct, 8 queries

Test #85:

score: 78
Accepted
time: 0ms
memory: 5920kb

input:

3
7
6
8
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 6 queries

Test #86:

score: 78
Accepted
time: 5ms
memory: 5628kb

input:

3
7
5
9
9
9
8
9
9
9
9
9
9
9
9
8
8
9
8
9
9
9
9
9

output:

?
111
000
000
?
011
000
000
?
111
010
011
?
111
001
011
?
111
001
011
?
110
001
001
?
010
011
011
?
101
011
001
?
111
011
010
?
111
011
011
?
110
001
011
?
111
011
010
?
111
011
011
?
111
011
001
?
000
011
011
?
111
001
001
?
111
001
011
?
111
000
011
?
110
011
001
?
110
011
010
?
110
010
011
?
101
...

result:

points 1.0 points  1.0 correct, 23 queries

Test #87:

score: 78
Accepted
time: 4ms
memory: 5624kb

input:

3
5
5
9
9
9
7
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 9 queries

Test #88:

score: 78
Accepted
time: 5ms
memory: 5616kb

input:

3
7
5
9
9
9
9
8
9
9
9
9
9
9
9
8
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 18 queries

Test #89:

score: 78
Accepted
time: 4ms
memory: 5672kb

input:

3
5
5
9
9
9
8
8
9
9
9
8

output:

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

result:

points 1.0 points  1.0 correct, 11 queries

Test #90:

score: 78
Accepted
time: 5ms
memory: 5568kb

input:

3
5
3
9
9
9
8
9
9
9
9
9
9
9
9
8
8
9
8
9
9
9
9
9

output:

?
111
000
000
?
011
000
000
?
111
010
011
?
111
001
011
?
111
001
011
?
110
001
001
?
010
011
011
?
101
011
001
?
111
011
010
?
111
011
011
?
110
001
011
?
111
011
010
?
111
011
011
?
111
011
001
?
000
011
011
?
111
001
001
?
111
001
011
?
111
000
011
?
110
011
001
?
110
011
010
?
110
010
011
?
101
...

result:

points 1.0 points  1.0 correct, 23 queries

Test #91:

score: 78
Accepted
time: 2ms
memory: 5676kb

input:

3
7
6
9
9
9
7
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 9 queries

Test #92:

score: 78
Accepted
time: 6ms
memory: 5700kb

input:

3
5
5
9
9
9
9
7
9
9
9
9
9
9
9
7
9
9
9
9
9
9
9
8

output:

?
111
000
000
?
011
000
000
?
100
111
011
?
100
110
111
?
100
110
111
?
100
100
101
?
000
101
111
?
100
011
101
?
100
111
110
?
100
111
111
?
100
100
111
?
100
111
110
?
100
111
111
?
100
111
101
?
000
001
111
?
100
110
101
?
100
110
111
?
100
110
011
?
100
101
101
?
100
101
110
?
100
101
011
?
100
...

result:

points 1.0 points  1.0 correct, 23 queries

Test #93:

score: 78
Accepted
time: 0ms
memory: 5880kb

input:

3
7
5
9
9
9
9
7
8

output:

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

result:

points 1.0 points  1.0 correct, 8 queries

Test #94:

score: 78
Accepted
time: 62ms
memory: 5908kb

input:

10
10
10
40
70
80
100

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 6 queries

Test #95:

score: 78
Accepted
time: 148ms
memory: 5936kb

input:

10
100
90
50
70
80
70
90
100
100
90

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 10 queries

Test #96:

score: 78
Accepted
time: 146ms
memory: 6088kb

input:

10
10
10
40
72
84
93
92
94
93

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 9 queries

Test #97:

score: 78
Accepted
time: 445ms
memory: 6036kb

input:

10
28
19
51
52
79
86
94
94
95
90
100
100
94
100
100
94
100
100
100
100
97

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 21 queries

Test #98:

score: 78
Accepted
time: 630ms
memory: 5904kb

input:

10
64
55
46
64
84
82
86
100
100
100
100
95
95
100
100
100
100
100
100
100
100
100
100
100
96
100
100
100
100
100
100
100
100
94
95

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 35 queries

Test #99:

score: 78
Accepted
time: 248ms
memory: 6008kb

input:

10
37
37
44
65
84
80
85
85
94
100
92
97
98
95

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 14 queries

Test #100:

score: 78
Accepted
time: 188ms
memory: 6184kb

input:

8
22
15
40
39
52
56
60
56
62
64
64
64

output:

?
11111111
00000000
00000000
00000000
00000000
00000000
00000000
00000000
?
01111111
00000000
00000000
00000000
00000000
00000000
00000000
00000000
?
10000100
01000000
00000000
00100000
01000000
00000000
00000000
01010000
?
11000100
01000000
00000000
00000100
00001000
00000000
00000000
01010000
?
11...

result:

points 1.0 points  1.0 correct, 12 queries

Test #101:

score: 78
Accepted
time: 107ms
memory: 5868kb

input:

10
55
46
52
58
58
82
99
96
90
80

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 10 queries

Test #102:

score: 78
Accepted
time: 207ms
memory: 5908kb

input:

9
73
72
53
51
65
73
78
80
75
81
81
79
81
81
81
80
79
75
80
81
80
75
81
81
77

output:

?
111111111
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
?
011111111
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
?
100000000
000000000
010000000
000000000
000000010
000000011
000000000
000000001
001000000
?
000000000
100001000
01...

result:

points 1.0 points  1.0 correct, 25 queries

Test #103:

score: 78
Accepted
time: 203ms
memory: 6132kb

input:

10
73
73
58
58
76
82
90
95
100
97
95
100
100
96

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 14 queries

Test #104:

score: 78
Accepted
time: 278ms
memory: 6012kb

input:

10
73
73
51
65
76
88
91
88
97
92
100
97
92
98
96

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 15 queries

Test #105:

score: 78
Accepted
time: 137ms
memory: 5784kb

input:

10
82
73
55
73
100
88
86
93
88
88
88
79
88
80

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 14 queries

Test #106:

score: 78
Accepted
time: 150ms
memory: 5964kb

input:

10
100
90
50
64
84
92
84
92
100
92

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 10 queries

Test #107:

score: 78
Accepted
time: 127ms
memory: 5840kb

input:

10
100
90
46
60
80
84
73
96
94
99

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 10 queries

Test #108:

score: 78
Accepted
time: 152ms
memory: 5920kb

input:

10
10
10
40
64
82
76
82
86
94
95
100

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 11 queries

Test #109:

score: 78
Accepted
time: 117ms
memory: 5876kb

input:

10
10
10
44
50
79
88
95
92
98
98

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 10 queries

Test #110:

score: 78
Accepted
time: 163ms
memory: 6012kb

input:

10
91
90
55
76
79
95
96
95
88
88
98
94
95
94
96

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 15 queries

Test #111:

score: 78
Accepted
time: 124ms
memory: 5952kb

input:

10
91
82
50
64
76
94
84
88
100

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 9 queries

Test #112:

score: 78
Accepted
time: 247ms
memory: 6160kb

input:

10
91
82
58
64
86
79
88
94
91
94
88
97
96
96

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 14 queries

Test #113:

score: 78
Accepted
time: 203ms
memory: 6192kb

input:

10
28
19
52
52
84
79
94
90
95
94
90
97
96
96
98

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 15 queries

Test #114:

score: 78
Accepted
time: 280ms
memory: 6012kb

input:

10
91
82
58
68
70
79
85
92
96
98
95
94
97
91
98

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 15 queries

Test #115:

score: 78
Accepted
time: 80ms
memory: 6064kb

input:

10
10
10
40
64
82
73
88
95
100
94

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 10 queries

Test #116:

score: 78
Accepted
time: 208ms
memory: 5964kb

input:

10
55
46
44
65
84
82
92
88
98
91
98
98
100
100
94
97

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 16 queries

Test #117:

score: 78
Accepted
time: 244ms
memory: 6156kb

input:

10
55
55
52
60
80
80
91
80
90
100
100
98
100
100
76

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 15 queries

Test #118:

score: 78
Accepted
time: 232ms
memory: 5952kb

input:

10
64
55
51
52
76
80
90
82
96
94
96
91
96
99
99
100
100
100

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 18 queries

Test #119:

score: 78
Accepted
time: 343ms
memory: 6064kb

input:

10
55
55
58
58
70
95
92
88
88
94
96
98
96
98
98
98
100
97
98
98

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 20 queries

Test #120:

score: 78
Accepted
time: 142ms
memory: 6152kb

input:

10
19
10
46
60
82
73
100
92
100
76

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 10 queries

Test #121:

score: 78
Accepted
time: 104ms
memory: 5832kb

input:

10
91
90
60
64
88
79
94
93

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 8 queries

Test #122:

score: 78
Accepted
time: 273ms
memory: 6156kb

input:

9
73
72
41
65
73
75
73
75
81
81
81
81
81
81
77

output:

?
111111111
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
?
011111111
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
?
100000000
000000000
010000000
000000000
000000010
000000011
000000000
000000001
001000000
?
000000000
100100000
10...

result:

points 1.0 points  1.0 correct, 15 queries

Test #123:

score: 78
Accepted
time: 211ms
memory: 5968kb

input:

9
17
9
51
51
69
67
81
75
67
81
81
81
75

output:

?
111111111
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
?
011111111
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
?
100000000
000100000
000000000
000000000
000100000
000011000
000000000
000000010
001000000
?
110000000
000000000
00...

result:

points 1.0 points  1.0 correct, 13 queries

Test #124:

score: 78
Accepted
time: 213ms
memory: 5940kb

input:

8
57
56
46
46
52
54
56
59
64
64
60
64
64
60
64
64
64
61
49

output:

?
11111111
00000000
00000000
00000000
00000000
00000000
00000000
00000000
?
01111111
00000000
00000000
00000000
00000000
00000000
00000000
00000000
?
10000000
00001001
00000000
00000010
00001000
00000000
00000000
01010000
?
00000000
10001000
00000000
00000010
00001000
01010000
00000000
00010001
?
10...

result:

points 1.0 points  1.0 correct, 19 queries

Test #125:

score: 78
Accepted
time: 125ms
memory: 6084kb

input:

8
15
8
40
39
44
46
64
58
59

output:

?
11111111
00000000
00000000
00000000
00000000
00000000
00000000
00000000
?
01111111
00000000
00000000
00000000
00000000
00000000
00000000
00000000
?
10000100
01000000
00000000
00100000
01000000
00000000
00000000
01010000
?
11000100
01000000
00000000
00000100
00001000
00000000
00000000
01010000
?
11...

result:

points 1.0 points  1.0 correct, 9 queries

Test #126:

score: 78
Accepted
time: 126ms
memory: 5976kb

input:

7
43
42
31
28
49
44
49
49

output:

?
1111111
0000000
0000000
0000000
0000000
0000000
0000000
?
0111111
0000000
0000000
0000000
0000000
0000000
0000000
?
1000000
0001100
0000001
0000000
0000000
0100100
0000100
?
0000000
0001100
0001010
0000100
0000000
0101100
0000000
?
1000000
0001111
1101011
1001100
0011000
0001100
0000101
?
1000000
...

result:

points 1.0 points  1.0 correct, 8 queries

Test #127:

score: 78
Accepted
time: 61ms
memory: 5968kb

input:

7
13
7
34
43
49

output:

?
1111111
0000000
0000000
0000000
0000000
0000000
0000000
?
0111111
0000000
0000000
0000000
0000000
0000000
0000000
?
1000110
0000000
0010000
0000000
0000001
0001000
0000100
?
1000001
0001000
0100000
0000000
0100001
0010000
0000100
?
1000111
0100010
0100000
0000010
0100001
0010000
0000110
!
0000100
...

result:

points 1.0 points  1.0 correct, 5 queries

Test #128:

score: 78
Accepted
time: 176ms
memory: 5936kb

input:

10
91
82
36
72
84
88
90
92
95
100
96
98
100
98
97

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 15 queries

Test #129:

score: 78
Accepted
time: 223ms
memory: 6012kb

input:

10
64
55
44
44
73
80
85
97
94
98
100
99
97

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 13 queries

Test #130:

score: 78
Accepted
time: 150ms
memory: 6040kb

input:

10
73
73
52
58
79
90
94
94
92
100

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 10 queries

Test #131:

score: 78
Accepted
time: 272ms
memory: 5900kb

input:

10
64
55
58
58
58
75
90
94
80
98
97
96
100
91

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 14 queries

Test #132:

score: 78
Accepted
time: 250ms
memory: 5864kb

input:

10
28
28
51
58
70
64
76
76
90
91
97
94
94
98
100
98
100
100

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000000
0000101000
00010010...

result:

points 1.0 points  1.0 correct, 18 queries

Test #133:

score: 78
Accepted
time: 297ms
memory: 5952kb

input:

10
82
73
36
70
88
70
84
92
91
97
96
100
96
100
90
100
100
97
97

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 19 queries

Test #134:

score: 78
Accepted
time: 300ms
memory: 6056kb

input:

10
28
19
44
60
84
84
94
91
92
96
96
91
98
96
94
99
100
97

output:

?
1111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
0111111111
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
?
1000000000
0000000000
0000000000
0000000000
0000000001
0010000001
00010100...

result:

points 1.0 points  1.0 correct, 18 queries

Test #135:

score: 78
Accepted
time: 353ms
memory: 6216kb

input:

100
100
100
700
900
1800
2400
2700
3700
3700
4400
4800
5500
6500
6900
7100
7400
8200
7500

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 18 queries

Test #136:

score: 78
Accepted
time: 347ms
memory: 6200kb

input:

100
10000
9900
700
1000
1700
2300
2700
3800
3900
4400
5100
5500
6900
7100
6900
7900
8200
7300

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 18 queries

Test #137:

score: 78
Accepted
time: 696ms
memory: 6452kb

input:

100
991
892
690
788
1180
1572
2046
1882
2337
2337
2590
3088
2992
3730
4015
4720
4528
5345
5630
6675
6334
7245
7312
8100
7396
7768
7954
8575

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 28 queries

Test #138:

score: 78
Accepted
time: 1198ms
memory: 6268kb

input:

100
2377
2377
694
800
1852
1561
2258
2628
2480
2950
3160
2896
3890
4085
4358
4664
5160
5194
4904
5492
6646
6172
6433
6940
6685
7506
7704
7680
8091
7564
7894
8400
8785
8100
7760
8420
8575
8815
8262

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 39 queries

Test #139:

score: 78
Accepted
time: 1886ms
memory: 6272kb

input:

100
3664
3664
688
688
1260
1168
1168
1536
1720
1720
2083
2088
1996
2524
2791
3136
3376
3520
4632
4432
4900
5098
4432
5070
5070
5296
6100
5518
5900
6334
6598
6100
6560
6682
7075
7225
7048
7348
7768
7585
8300
8225
7990
8530
8593
8660
8803
8464
8727
8803
8822
8698
8860
8526
8840
9181
8584

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 57 queries

Test #140:

score: 78
Accepted
time: 2918ms
memory: 6288kb

input:

100
3862
3763
688
688
1258
1070
1070
882
976
1070
1258
1628
1628
1901
2080
2079
2692
2265
2696
2953
2604
3115
3364
3609
3692
3941
4225
4450
4096
4600
4470
4890
5239
4379
4841
5109
5446
5310
5710
5653
6035
5970
6124
6100
6409
6838
6528
6590
6810
6926
7297
7880
7368
7030
7060
7400
7509
7570
7697
7516
...

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 84 queries

Test #141:

score: 77.4783
Acceptable Answer
time: 3189ms
memory: 6272kb

input:

100
4753
4753
688
688
1258
976
1258
1355
1728
2080
1630
1536
1628
2080
2518
2170
2779
2860
2860
2776
3443
2860
3682
3680
3996
3440
3526
3686
4071
4302
4452
4384
4598
4672
5036
5338
5974
5527
5905
5580
6462
6520
6590
6409
6984
6652
6751
6694
6637
7088
7408
7654
7795
7648
7840
7786
8020
8328
8334
8032...

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 0.99331103680 points  0.9933110368 correct, 88 queries

Test #142:

score: 78
Accepted
time: 2857ms
memory: 6344kb

input:

100
4753
4753
694
785
1355
1168
1648
1916
1723
1909
2281
2746
2811
2620
3120
3136
3414
3301
3784
3686
4384
4560
4817
4528
4525
4533
4746
5104
5620
4959
5584
5377
5536
5908
6230
6157
5940
6370
7210
7246
7072
7150
7348
7264
7500
7885
8076
7764
8100
8151
8196
8409
8366
8600
8518
8328
8782
8912
8740
874...

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 76 queries

Test #143:

score: 78
Accepted
time: 2731ms
memory: 6548kb

input:

100
4852
4852
690
788
1173
1260
1540
1444
1258
1537
1990
2168
1990
1816
2604
2518
2170
2690
2690
3292
3115
3760
3196
4071
4228
4525
4610
4462
4302
4963
4598
4675
5116
5791
5243
5940
5512
6047
5716
5980
6067
6555
7109
6913
6724
6808
7415
6694
7144
7516
7377
7780
8164
8086
8187
7948
8128
8521
8500
866...

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 74 queries

Test #144:

score: 78
Accepted
time: 2589ms
memory: 6232kb

input:

100
6931
6931
688
690
1352
1258
1444
1352
1258
1351
1630
1728
1909
2104
2530
2292
2386
3058
3048
3364
3312
3868
3722
4178
3784
3965
4135
4708
4834
5059
5996
5534
6146
6550
6131
6048
6663
6481
6521
6600
6851
6850
6945
6904
6872
6904
7780
7568
7447
7923
7669
7732
7830
8053
8202
8318
8348
8320
8908
855...

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 73 queries

Test #145:

score: 78
Accepted
time: 1957ms
memory: 6376kb

input:

100
7129
7030
690
788
1173
1288
1640
1648
1936
2292
2240
2548
2732
3175
3250
3175
3770
3224
3910
4135
4152
4356
4605
4305
4780
4880
5457
5464
5226
6124
5840
5611
6256
6175
6500
6688
6744
6350
6832
6920
6596
7200
7008
7291
8080
7445
7360
7855
7985
8173
8140
8425
8202
8078
8800
8597
8400
8551

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 58 queries

Test #146:

score: 78
Accepted
time: 1653ms
memory: 6404kb

input:

100
7822
7723
688
690
1355
1264
1072
1456
1735
1812
2188
2629
2890
2702
2880
3048
3790
3840
3965
4410
4754
4834
5098
4730
4916
5408
5269
5352
5788
5869
6193
6274
5972
6689
6966
7270
7262
7188
7690
7299
7780
7923
7912
8137
8002
8446
8416
8704
8551
8390
8394

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 51 queries

Test #147:

score: 78
Accepted
time: 1064ms
memory: 6532kb

input:

100
9208
9109
694
793
1486
1866
2179
2224
3016
2454
2896
2970
3210
3664
3445
3920
3796
4388
5177
4830
5032
5450
5283
5680
5650
5590
6040
6400
6262
6568
7076
7705
7248
7477
7732
7686
8572
7850
8068

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 39 queries

Test #148:

score: 78
Accepted
time: 1075ms
memory: 6364kb

input:

100
10000
9900
694
800
1882
1882
2575
2900
3600
4258
4600
5900
5248
6700
7525
7746
7228
7550
7648
8157
7696
8380
8089
7508
8385
8280
8720
8248
9034
8765
8803
9088
8516
9011
9172
9159
9333

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 37 queries

Test #149:

score: 78
Accepted
time: 1128ms
memory: 6356kb

input:

100
100
100
700
900
1800
2400
2748
3336
3042
4060
4512
4753
5050
5296
5743
5732
7158
6993
6411
7120
7625
7910
7625
7998
8300
7976
8008
8537
8986
8250
8528
9008
8758
8929
9264
8698
9136
9517
9480
9586

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 40 queries

Test #150:

score: 78
Accepted
time: 1065ms
memory: 6172kb

input:

100
100
100
700
900
1800
2377
2476
2674
2872
3367
4456
4100
4300
5842
6100
5941
6832
6864
6962
7354
7866
7625
7963
7954
7634
8680
8108
8137
8298
8438
8614
8434
9046
9133
9484
9592
9490
9230
9517

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 39 queries

Test #151:

score: 78
Accepted
time: 1247ms
memory: 6532kb

input:

100
9901
9900
694
800
1684
2000
1900
3367
3961
3924
4218
5100
5296
4610
5492
5732
5884
6570
6928
7090
7120
7650
7838
7910
8290
8419
8419
8131
8008
8328
8776
8056
8414
8636
8760
8776
8800
9278
9352
9349
9604
9664

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 42 queries

Test #152:

score: 78
Accepted
time: 1045ms
memory: 6388kb

input:

100
9901
9802
700
1000
1700
2300
2700
3800
3900
4400
5100
5500
6832
6605
6160
6799
7120
6217
7696
6064
7696
7815
7768
8140
7998
8328
8056
8440
8225
8980
8570
8902
9060
9055
9181
9265
9318
9400
9620
9563

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 40 queries

Test #153:

score: 78
Accepted
time: 1050ms
memory: 6292kb

input:

100
9901
9802
700
1000
1700
2300
2700
3800
3862
4258
4654
5248
4806
5441
4859
6374
7312
6544
6702
7769
7478
7888
7625
7650
8110
8423
8440
8620
8640
9390
8917
9235
9183
9064
9460
9420
9532
9620
9720

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 39 queries

Test #154:

score: 78
Accepted
time: 1507ms
memory: 6448kb

input:

100
991
892
694
800
1866
1866
1866
2725
2531
3113
3472
4300
3955
3796
4665
4848
5216
5536
5629
6094
6412
6320
6529
7825
6885
7184
7738
7241
7775
7427
8045
7875
8257
7850
8174
8320
8506
8321
8689
8551
8318
8922
9325
9100
9310
9379
9568
9500

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 48 queries

Test #155:

score: 78
Accepted
time: 1513ms
memory: 6200kb

input:

100
8911
8812
700
1000
1684
2062
2046
2552
2872
3466
3695
4610
4624
5100
5776
6295
6428
6200
6448
7303
6780
7516
7180
7775
7424
7888
8086
7477
8768
8488
8385
8824
8624
7648
8442
8830
7883
8110
8614
8866
9376
9120
9180
9240
9584
9472
9264
9472
9608
9402
9333
9449

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 52 queries

Test #156:

score: 78
Accepted
time: 503ms
memory: 6296kb

input:

100
100
100
700
900
1800
2400
2700
3700
3700
4400
4800
5500
6500
6864
6472
6864
7158
6962
7624
7746
7648
8060

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 22 queries

Test #157:

score: 78
Accepted
time: 2551ms
memory: 6252kb

input:

100
5050
4951
688
688
1258
976
1351
1351
1444
1351
1536
1904
2002
2170
2350
2620
2948
2696
2692
3206
3358
2692
3759
4000
4080
4300
4687
4672
4610
4918
5255
5536
4908
5226
5669
6166
6080
6328
6295
5896
6160
6787
6900
6776
7300
7470
7435
7580
7764
7942
7668
8357
8446
8530
7888
8383
8524
8740
8504
8800...

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 81 queries

Test #158:

score: 76.6087
Acceptable Answer
time: 3205ms
memory: 6264kb

input:

100
5050
5050
688
690
1352
1260
1351
1628
1719
1992
1810
2002
2080
1719
2260
2432
2435
2605
2696
2945
2948
3760
3601
4072
3522
3994
4072
4000
4450
4744
4890
4598
4600
4816
4825
5182
5840
5314
5653
5905
5968
5712
5970
5905
6640
6280
6288
6425
7140
6865
6865
7504
7088
7350
7552
7792
7840
7360
7501
820...

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 0.98216276480 points  0.9821627648 correct, 93 queries

Test #159:

score: 78
Accepted
time: 2785ms
memory: 6400kb

input:

100
5050
4951
690
793
1260
1352
1540
1728
1822
2440
2350
2520
2613
2431
2518
3030
3455
3448
3760
3526
3759
3759
4671
4600
4746
5104
4888
5176
5320
5308
5776
5779
5716
5913
5988
6404
6094
5970
6696
7150
7180
7036
7036
7158
7462
7399
7930
7525
7746
7840
8155
8524
8214
8308
8402
8915
8742
8600
8848
881...

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 74 queries

Test #160:

score: 78
Accepted
time: 2697ms
memory: 6332kb

input:

100
5050
5050
690
793
1270
1572
1446
1744
2305
2480
2374
2980
2640
2800
3301
3312
3448
3925
3932
3759
4391
4075
4391
4450
4908
4744
4894
4756
5140
5740
5669
6040
5800
6106
5779
6352
6645
6460
6464
6950
6838
7088
7227
7133
7463
7592
7635
8110
7970
7690
8650
7855
8100
8232
8434
8636
8521
8650
8875
918...

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 73 queries

Test #161:

score: 78
Accepted
time: 3075ms
memory: 6412kb

input:

100
4060
4060
688
694
1450
1540
1720
1540
1901
2080
1990
2080
2080
2170
1719
2431
2613
2775
2692
3838
3112
3520
3360
3616
4150
3917
4150
4228
4379
4959
4744
4888
5042
5590
5042
5840
5580
5842
5775
5905
5608
6094
6636
6880
6950
7191
7244
7312
8020
6865
7650
7756
7976
7244
7600
7450
7700
7732
8073
844...

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 85 queries

Test #162:

score: 78
Accepted
time: 429ms
memory: 6216kb

input:

100
199
100
694
800
1882
1882
2575
2872
3532
3664
3763
4708
5688
5198
6570
6733
7525
7648
8119

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 19 queries

Test #163:

score: 78
Accepted
time: 398ms
memory: 6064kb

input:

100
9901
9900
694
800
1684
2000
1900
3367
3961
3961
4600
6000
5248
6300
7327
7426
7300
7822
7921

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 19 queries

Test #164:

score: 78
Accepted
time: 430ms
memory: 6424kb

input:

100
199
199
694
793
1500
2080
2846
2748
3862
4512
5002
5743
5700
5884
6276
7354
7452
7228
7600
7624

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 20 queries

Test #165:

score: 78
Accepted
time: 423ms
memory: 6296kb

input:

100
9901
9802
700
1000
1700
2278
2674
2400
3664
3500
3763
4600
5050
5347
6300
6634
7228
7300
7129
8000

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 20 queries

Test #166:

score: 78
Accepted
time: 521ms
memory: 6340kb

input:

100
2575
2575
700
900
1800
2400
2773
3565
3630
3900
4277
4277
5198
4708
4708
6040
5829
6832
6896
7216
8351
7672

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 22 queries

Test #167:

score: 78
Accepted
time: 592ms
memory: 6052kb

input:

100
1882
1783
694
800
1882
1882
2575
2900
3600
4218
4022
4904
5492
5688
5982
5884
6668
6928
7478
7984
7769
7888
9232

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 23 queries

Test #168:

score: 78
Accepted
time: 3019ms
memory: 6628kb

input:

100
6337
6238
690
793
1264
1355
1450
1822
1812
2281
2210
2530
2696
2872
2953
2696
3522
3850
3692
3840
3763
4154
4072
4628
4604
4816
4825
5104
5030
5660
5190
6218
6032
6165
6340
6404
6462
6645
6620
6480
6962
7036
7192
7120
7648
7660
7608
7884
7792
7979
7838
8278
8151
8404
8245
8668
8495
8600
8606
879...

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 79 queries

Test #169:

score: 77.1304
Acceptable Answer
time: 3234ms
memory: 6344kb

input:

100
5050
4951
688
690
1355
1260
880
1258
1628
1536
1810
1720
1720
2346
2260
1904
2174
2440
2791
2608
3034
2960
3388
3522
3616
3625
3520
4072
4148
4456
4598
4376
4960
4672
4525
5578
5314
5310
5580
5580
5450
6220
6220
6032
6279
5842
6160
6032
6700
6700
6520
7140
7084
7032
7088
6984
7191
7452
7297
7462...

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 0.9888517280 points  0.988851728 correct, 90 queries

Test #170:

score: 78
Accepted
time: 3088ms
memory: 6564kb

input:

100
4357
4357
688
688
1258
1070
1165
882
1351
1072
1444
1720
1537
1720
1446
1992
2432
2435
2530
2690
2692
3358
3112
3760
3280
3370
4072
3838
4225
4528
4450
4598
4816
5032
5032
5030
5791
5200
5444
5648
5870
5860
6502
6295
6047
6889
6828
6984
7165
7133
7148
7516
7705
7615
7816
7795
7816
7504
8040
8250...

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 85 queries

Test #171:

score: 77.8261
Acceptable Answer
time: 3095ms
memory: 6372kb

input:

100
9604
9505
688
688
1258
976
1352
1258
1352
1444
1628
1901
1351
1446
1996
1990
2079
2518
2690
2520
2779
2945
3196
3196
3601
3448
3784
3682
4006
4456
4470
4306
4224
4628
4528
5030
4890
5860
5645
5779
5712
5791
6100
6160
6578
6535
6645
6808
6752
6979
7030
7133
7608
7368
8073
7700
7509
7885
7858
8200...

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 0.99777034560 points  0.9977703456 correct, 86 queries

Test #172:

score: 78
Accepted
time: 2944ms
memory: 6316kb

input:

100
3070
3070
690
785
1164
1168
1540
1901
1351
1810
1990
2257
2605
2168
2350
2776
2520
2948
2944
3115
3112
3440
3194
3682
3520
3917
3760
4452
4528
4540
4820
5310
4890
5840
5512
5584
5314
5776
5905
5842
5904
5710
6584
6280
6520
6700
6865
6736
7850
7191
6864
7350
7158
7678
7250
7424
7700
7840
8155
825...

output:

?
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 82 queries

Test #173:

score: 78
Accepted
time: 16ms
memory: 5712kb

input:

5
17
13
25
23
25
23
25
24
23
21
24

output:

?
11111
00000
00000
00000
00000
?
01111
00000
00000
00000
00000
?
10100
01000
00000
00110
00101
?
00100
01100
00100
00000
00111
?
10101
01100
00100
01110
00111
?
00100
01000
00100
00110
00111
?
10001
01100
00100
00010
00101
?
10001
01100
00100
01110
00110
?
10101
01100
00100
01100
00001
?
10101
0010...

result:

points 1.0 points  1.0 correct, 11 queries