QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#561569#9188. Light BulbsLeafSeek97.73913 2539ms4588kbC++172.7kb2024-09-12 23:58:142024-09-12 23:58:15

详细

Subtask #1:

score: 11
Accepted

Test #1:

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

input:

3
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 22 queries

Test #2:

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

input:

3
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
6

output:

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

result:

points 1.0 points  1.0 correct, 22 queries

Test #3:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 12 queries

Test #4:

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

input:

3
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
8
9
9

output:

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

result:

points 1.0 points  1.0 correct, 22 queries

Test #5:

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

input:

3
9
8
8
9
8
9
9
9
9
9
9
8
8
9
9
9
8

output:

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

result:

points 1.0 points  1.0 correct, 17 queries

Test #6:

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

input:

3
9
7
9
9
7

output:

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

result:

points 1.0 points  1.0 correct, 5 queries

Test #7:

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

input:

3
8
7
8

output:

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

result:

points 1.0 points  1.0 correct, 3 queries

Test #8:

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

input:

3
8
7
7

output:

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

result:

points 1.0 points  1.0 correct, 3 queries

Test #9:

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

input:

3
8
9
8

output:

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

result:

points 1.0 points  1.0 correct, 3 queries

Test #10:

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

input:

3
9
9
9
9
9
9
9
9
8
8
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 13 queries

Test #11:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 19 queries

Test #12:

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

input:

3
9
9
9
9
9
9
9
9
9
8
9
9
8
9
9
9
9
9
8

output:

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

result:

points 1.0 points  1.0 correct, 19 queries

Test #13:

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

input:

3
9
9
9
9
9
9
9
9
9
9
9
8
8
9
9
9
8

output:

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

result:

points 1.0 points  1.0 correct, 17 queries

Test #14:

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

input:

3
9
9
9
9
9
9
9
9
9
8
9
9
9
9
9
9
9
9
8

output:

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

result:

points 1.0 points  1.0 correct, 19 queries

Test #15:

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

input:

3
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
7
9
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 26 queries

Test #16:

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

input:

3
9
9
9
9
9
9
9
9
9
9
9
8
9
9
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 17 queries

Test #17:

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

input:

3
9
9
9
9
9
9
9
9
9
9
9
9
7
9
9
9
9
9
9
9
9
7

output:

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

result:

points 1.0 points  1.0 correct, 22 queries

Subtask #2:

score: 11
Accepted

Dependency #1:

100%
Accepted

Test #18:

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

input:

3
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 22 queries

Test #19:

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

input:

3
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
6

output:

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

result:

points 1.0 points  1.0 correct, 22 queries

Test #20:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 12 queries

Test #21:

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

input:

3
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
8
9
9

output:

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

result:

points 1.0 points  1.0 correct, 22 queries

Test #22:

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

input:

3
9
8
8
9
8
9
9
9
9
9
9
8
8
9
9
9
8

output:

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

result:

points 1.0 points  1.0 correct, 17 queries

Test #23:

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

input:

3
9
7
9
9
7

output:

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

result:

points 1.0 points  1.0 correct, 5 queries

Test #24:

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

input:

3
8
7
8

output:

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

result:

points 1.0 points  1.0 correct, 3 queries

Test #25:

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

input:

3
8
7
7

output:

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

result:

points 1.0 points  1.0 correct, 3 queries

Test #26:

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

input:

3
8
9
8

output:

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

result:

points 1.0 points  1.0 correct, 3 queries

Test #27:

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

input:

3
9
9
9
9
9
9
9
9
8
8
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 13 queries

Test #28:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 19 queries

Test #29:

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

input:

3
9
9
9
9
9
9
9
9
9
8
9
9
8
9
9
9
9
9
8

output:

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

result:

points 1.0 points  1.0 correct, 19 queries

Test #30:

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

input:

3
9
9
9
9
9
9
9
9
9
9
9
8
8
9
9
9
8

output:

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

result:

points 1.0 points  1.0 correct, 17 queries

Test #31:

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

input:

3
9
9
9
9
9
9
9
9
9
8
9
9
9
9
9
9
9
9
8

output:

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

result:

points 1.0 points  1.0 correct, 19 queries

Test #32:

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

input:

3
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
7
9
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 26 queries

Test #33:

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

input:

3
9
9
9
9
9
9
9
9
9
9
9
8
9
9
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 17 queries

Test #34:

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

input:

3
9
9
9
9
9
9
9
9
9
9
9
9
7
9
9
9
9
9
9
9
9
7

output:

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

result:

points 1.0 points  1.0 correct, 22 queries

Test #35:

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

input:

10
70
90

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0100000000
0000010000
0001000000
1000000000
0100000000
0000000001
0001100000
1100000000
0000000000
0000001000
!
0100000000
0000010000
0001000000
1000000000
0100000000
0000000001
00001000...

result:

points 1.0 points  1.0 correct, 2 queries

Test #36:

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

input:

10
60
70
70
70
100

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0101000000
1000000000
0000000000
0000010001
11000000...

result:

points 1.0 points  1.0 correct, 5 queries

Test #37:

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

input:

10
64
80
91
82

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0111011001
0000000000
0001000000
1000010000
0000000001
0000010000
10000000...

result:

points 1.0 points  1.0 correct, 4 queries

Test #38:

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

input:

10
65
72
76
86
84
79
93

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0101000000
1000000000
0000000000
0000010001
11000000...

result:

points 1.0 points  1.0 correct, 7 queries

Test #39:

score: 11
Accepted
time: 45ms
memory: 3884kb

input:

10
58
68
72
79
94
94
90
100
92

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0100000000
0000010000
0001000000
1000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000000000
?
0000000000
0000010100
0001000000
0000000000
0000000001
0001010001
00000000...

result:

points 1.0 points  1.0 correct, 9 queries

Test #40:

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

input:

10
64
65
80
84
97
92
88
98
96
99
97
100
100
100
100
96
98

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0100000000
1000000000
1000000001
0000010001
11000000...

result:

points 1.0 points  1.0 correct, 17 queries

Test #41:

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

input:

8
39
49
52
56
56
59
64
60
64
60
61
64
64
61
64
64
64
64

output:

?
00000000
00000100
01000000
00000000
00000010
00000011
00000100
00010001
?
00000000
00000110
11000000
10000000
00000010
00000011
00000100
00010001
?
01000000
00100110
11000000
10000000
00000010
00000111
00000100
00001001
?
01100000
00000010
11000010
10000000
00000010
00000001
00000100
00011001
?
00...

result:

points 1.0 points  1.0 correct, 18 queries

Test #42:

score: 11
Accepted
time: 121ms
memory: 3980kb

input:

10
64
65
80
85
94
90
96
94
98
98
98
98
100
100
98
100
100
100

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0100000000
1000000000
1000000001
0000010001
11000000...

result:

points 1.0 points  1.0 correct, 18 queries

Test #43:

score: 11
Accepted
time: 69ms
memory: 3808kb

input:

9
45
61
65
65
69
73
75
72
81
81

output:

?
000100000
000000000
100000000
000000000
000000000
000000010
000010100
100001000
001000000
?
000100000
000000000
000000000
000001000
000000010
000000010
000010100
100000000
101100100
?
000000000
000000000
100000000
010001010
010000010
000000010
000010100
100000000
001000100
?
010000000
000000000
10...

result:

points 1.0 points  1.0 correct, 10 queries

Test #44:

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

input:

10
55
68
72
88
88
91
94
97
94
100
100
100
96

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0000000000
0000011000
0010000001
0000010001
0000000000
1100000000
0000000100
0000000000
?
0010000000
0010010000
0001000000
1000011000
0010000000
0000011001
00000000...

result:

points 1.0 points  1.0 correct, 13 queries

Test #45:

score: 11
Accepted
time: 67ms
memory: 4044kb

input:

10
60
73
88
80
84
80
85
94
100
95
92
94

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0101000000
1000000000
1000000001
0000000001
11000000...

result:

points 1.0 points  1.0 correct, 12 queries

Test #46:

score: 11
Accepted
time: 46ms
memory: 4108kb

input:

10
60
76
76
90
93
100
82

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0100000000
1000000000
1000000001
0000010001
11000000...

result:

points 1.0 points  1.0 correct, 7 queries

Test #47:

score: 11
Accepted
time: 22ms
memory: 4016kb

input:

10
51
55
92
100
86
100
100
100
94
100
100
93

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0010000000
0000010000
0001000000
1000010000
0010000001
0000010001
0000000000
1100000000
0000000000
0000000000
?
0010100000
0000000000
0000000000
1000000010
0010000010
0000010001
00000100...

result:

points 1.0 points  1.0 correct, 12 queries

Test #48:

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

input:

10
70
82
76
93
79
94
97
96

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0100000000
0000010000
0001000000
1000000000
0100000000
0000000001
0001100000
1100000000
0000000000
0000001000
?
0100001011
0000000000
0000000000
1000000000
0100000001
0000010001
00011000...

result:

points 1.0 points  1.0 correct, 8 queries

Test #49:

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

input:

10
64
80
84
91
94
92

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0111011001
0000000000
0001000000
1000010000
0000000001
0000010000
10000000...

result:

points 1.0 points  1.0 correct, 6 queries

Test #50:

score: 11
Accepted
time: 68ms
memory: 3820kb

input:

10
68
76
84
82
82
92
91
92
96
94
98
97

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0010000000
0000010010
0001000000
1000000000
0000000000
0000010001
0000000000
1100000000
0000000100
0000001000
?
0010000000
0000010010
0001000000
0000000000
0010000001
0000010001
10000000...

result:

points 1.0 points  1.0 correct, 12 queries

Test #51:

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

input:

10
60
68
70
79
88
82
85
86
92
96
98
96

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0100000000
1000000000
1000000001
0000010001
11000000...

result:

points 1.0 points  1.0 correct, 12 queries

Test #52:

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

input:

10
60
64
76
88
82
88
96
92
96
98
92
96
97
96
99

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0100000000
1000000000
1000000001
0000010001
11000000...

result:

points 1.0 points  1.0 correct, 15 queries

Test #53:

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

input:

10
55
68
64
88
88
96
99
98
97

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0000000000
0000011000
0010000001
0000010001
0000000000
1100000000
0000000100
0000000000
?
0010000000
0010010000
0001000000
1000011000
0010000000
0000011001
00000000...

result:

points 1.0 points  1.0 correct, 9 queries

Test #54:

score: 11
Accepted
time: 41ms
memory: 3700kb

input:

10
51
65
73
76
92
97
99
97

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0010000000
0000010000
0001000000
1000010000
0010000001
0000010001
0000000000
1100000000
0000000000
0000000000
?
0000000000
0000010000
0000000000
1000001100
0010000001
0000010001
00000100...

result:

points 1.0 points  1.0 correct, 8 queries

Test #55:

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

input:

10
52
58
72
88
76
88
86
98
94
98

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0010000000
0000010000
0001000000
1000010000
0010000001
0000010001
0000000000
1100000000
0000000000
0000000000
?
0010000000
0000010000
0000000000
1000010000
0000000001
0000010001
00000100...

result:

points 1.0 points  1.0 correct, 10 queries

Test #56:

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

input:

10
70
82
68
82
100
88
85
100
94
90
96

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0100000000
0000010000
0001000000
1000000000
0100000000
0000000001
0001100000
1100000000
0000000000
0000001000
?
0100001011
0000000000
0000000000
1000000000
0100000001
0000010001
00011000...

result:

points 1.0 points  1.0 correct, 11 queries

Test #57:

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

input:

10
60
70
80
82
96
96
100
100
100
96

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0101000000
1000000000
0000000000
0000010001
11000000...

result:

points 1.0 points  1.0 correct, 10 queries

Test #58:

score: 11
Accepted
time: 167ms
memory: 3996kb

input:

10
52
72
75
92
91
90
98
100
100
100
96
100
98
98
98
100
98
100
94
100
100
99

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0010000000
0000010000
0001000000
1000010000
0010000001
0000010001
0000000000
1100000000
0000000000
0000000000
?
0010000000
0000010000
0000000000
1000010000
0000010001
0000010001
00000100...

result:

points 1.0 points  1.0 correct, 22 queries

Test #59:

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

input:

10
58
64
64
75
84
84
95
94
96
96
100
98
100
100
98
98
96
100

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0100000000
0000010000
0001000000
1000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000000000
?
0100000000
0000010000
0001000000
1000000000
0000000001
0000010001
10000000...

result:

points 1.0 points  1.0 correct, 18 queries

Test #60:

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

input:

10
58
72
79
85
84
88
94
92
98
97
99
98
100

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0100000000
0000010000
0001000000
1000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000000000
?
0100000000
0000010000
0001000000
1000000000
0000000001
0000010001
10000000...

result:

points 1.0 points  1.0 correct, 13 queries

Test #61:

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

input:

10
73
91
91
91

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0010000000
0000010000
0001000000
0000000000
0100000000
0000010001
0000110000
0100000000
0000000100
0000001000
?
0100000010
0000010000
0001000000
0000000000
0000000001
1110011101
00001100...

result:

points 1.0 points  1.0 correct, 4 queries

Test #62:

score: 11
Accepted
time: 75ms
memory: 3940kb

input:

10
64
73
80
68
100
100
100
88
94
93

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0101000000
1000000000
1000000001
0000000001
11000000...

result:

points 1.0 points  1.0 correct, 10 queries

Test #63:

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

input:

9
57
57
65
65
72
72
74

output:

?
000100000
000000000
100000000
000000000
000000000
000000010
000010100
100001000
001000000
?
000100000
000000000
100000000
000001000
000000000
100000010
000010100
100001000
000000100
?
000100001
000000000
100010001
000001000
000000000
100000010
000010100
100100000
001000000
?
000100000
000000000
10...

result:

points 1.0 points  1.0 correct, 7 queries

Test #64:

score: 11
Accepted
time: 73ms
memory: 3820kb

input:

9
57
65
65
67
81
81
81
81
75
81
74

output:

?
000100000
000000000
100000000
000000000
000000000
000000010
000010100
100001000
001000000
?
000100000
000000000
100000000
000001000
000000000
100000010
000010100
100001000
000000100
?
000000001
000000000
100010011
000001000
000010000
100000010
000010000
100101000
001000100
?
001100001
000000000
00...

result:

points 1.0 points  1.0 correct, 11 queries

Test #65:

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

input:

8
43
57
57
64
64
64
64
64
64
64
56

output:

?
00000000
00000100
01000000
00000000
00000010
00000011
00000100
00010001
?
00100000
00000110
11000000
10000000
00000010
00000111
00000000
00010000
?
00100000
00000110
10000010
10000011
00000010
00001001
00000000
00010001
?
01100000
01000110
00100000
10000001
00001010
00011111
00000100
00000001
?
01...

result:

points 1.0 points  1.0 correct, 11 queries

Test #66:

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

input:

8
50
43
58
64
57

output:

?
00000000
00000100
01000000
00000000
00000010
00000011
00000100
00010001
?
00100010
00000110
01000000
00100000
00000000
00010011
00000000
00000001
?
00100010
00000110
01000000
00010011
00000000
00010001
00000100
10110001
?
00100010
00000110
01000000
00101111
00000010
00000011
00000100
11111011
?
00...

result:

points 1.0 points  1.0 correct, 5 queries

Test #67:

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

input:

7
31
43
42
49
49
49
49
49
49
44
49
49
49
49
45

output:

?
0010110
0000000
0100010
0010000
0000000
0000000
0100001
?
0100110
0000001
0100010
0010000
0100001
0001000
0000001
?
0110110
0001001
0000110
0010000
0100001
0000000
0100000
?
1111110
0001001
0100100
1010000
0100001
0001000
1001001
?
1011110
0001000
0100110
1111000
0100001
1000000
1101001
?
0111010
...

result:

points 1.0 points  1.0 correct, 15 queries

Test #68:

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

input:

7
31
43
42
49
49
49
49
49
49
49
49
49
49

output:

?
0010110
0000000
0100010
0010000
0000000
0000000
0100001
?
0100110
0000001
0100010
0010000
0100001
0001000
0000001
?
0110110
0001001
0000110
0010000
0100001
0000000
0100000
?
1111110
0001001
0100100
1010000
0100001
0001000
1001001
?
1011110
0001000
0100110
1111000
0100001
1000000
1101001
?
0111010
...

result:

points 1.0 points  1.0 correct, 13 queries

Test #69:

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

input:

10
73
84
86
94
72
100
88

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0010000000
0000010000
0001000000
0000000000
0100000000
0000010001
0000110000
0100000000
0000000100
0000001000
?
0010000010
0000000000
0001000000
1000000000
0100000001
1001010000
00000100...

result:

points 1.0 points  1.0 correct, 7 queries

Test #70:

score: 11
Accepted
time: 51ms
memory: 3952kb

input:

10
68
79
85
76
86
88
94

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0010000000
0000010010
0001000000
1000000000
0000000000
0000010001
0000000000
1100000000
0000000100
0000001000
?
0110000000
0000010010
0001001000
0000000000
0010000000
0000010001
00000000...

result:

points 1.0 points  1.0 correct, 7 queries

Test #71:

score: 11
Accepted
time: 123ms
memory: 4008kb

input:

10
65
72
85
88
96
85
88
92
100
95
100
96
98
96
98
94
99
94

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0101000000
1000000000
0000000000
0000010001
11000000...

result:

points 1.0 points  1.0 correct, 18 queries

Test #72:

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

input:

10
64
76
90
88
96
94
94
95
98
94
88
94
97
97

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0100000000
1000000000
1000000001
0000010001
11000000...

result:

points 1.0 points  1.0 correct, 14 queries

Test #73:

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

input:

10
58
76
80
76
65
88
94
92
97
92
92
94
94
94
100
98
100
100

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0100000000
0000010000
0001000000
1000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000000000
?
0100000000
0000010000
0001000000
1000000000
0000000001
0000010001
10000000...

result:

points 1.0 points  1.0 correct, 18 queries

Test #74:

score: 11
Accepted
time: 69ms
memory: 3876kb

input:

10
58
64
64
70
85
88
92
85
91
91
98
99

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0100000000
0000010000
0001000000
1000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000000000
?
0100000000
0000010000
0001000000
1000000000
0000000001
0000010001
10000000...

result:

points 1.0 points  1.0 correct, 12 queries

Test #75:

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

input:

10
64
72
85
88
88
88
94
97
94
91
99
100
96

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0100000000
1000000000
1000000001
0000010001
11000000...

result:

points 1.0 points  1.0 correct, 13 queries

Test #76:

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

input:

5
21
23
24
21
23
25
23
25
25
25
25
25
23
24
22
25
25
24

output:

?
01001
00001
01100
11000
00010
?
01001
00101
00100
11101
00010
?
11001
00011
00110
11101
00010
?
01000
00111
01111
11001
00000
?
10101
01111
00011
00001
00010
?
11001
01111
00110
10111
01001
?
01101
00000
00111
11101
01001
?
10101
11010
01011
11111
01010
?
11101
11111
00101
01111
01011
?
11100
0111...

result:

points 1.0 points  1.0 correct, 18 queries

Subtask #3:

score: 75.7391
Acceptable Answer

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Test #77:

score: 78
Accepted
time: 13ms
memory: 3616kb

input:

3
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 22 queries

Test #78:

score: 78
Accepted
time: 8ms
memory: 3688kb

input:

3
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
6

output:

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

result:

points 1.0 points  1.0 correct, 22 queries

Test #79:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 12 queries

Test #80:

score: 78
Accepted
time: 13ms
memory: 3704kb

input:

3
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
8
9
9

output:

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

result:

points 1.0 points  1.0 correct, 22 queries

Test #81:

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

input:

3
9
8
8
9
8
9
9
9
9
9
9
8
8
9
9
9
8

output:

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

result:

points 1.0 points  1.0 correct, 17 queries

Test #82:

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

input:

3
9
7
9
9
7

output:

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

result:

points 1.0 points  1.0 correct, 5 queries

Test #83:

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

input:

3
8
7
8

output:

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

result:

points 1.0 points  1.0 correct, 3 queries

Test #84:

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

input:

3
8
7
7

output:

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

result:

points 1.0 points  1.0 correct, 3 queries

Test #85:

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

input:

3
8
9
8

output:

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

result:

points 1.0 points  1.0 correct, 3 queries

Test #86:

score: 78
Accepted
time: 11ms
memory: 3688kb

input:

3
9
9
9
9
9
9
9
9
8
8
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 13 queries

Test #87:

score: 78
Accepted
time: 11ms
memory: 3688kb

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 19 queries

Test #88:

score: 78
Accepted
time: 11ms
memory: 3704kb

input:

3
9
9
9
9
9
9
9
9
9
8
9
9
8
9
9
9
9
9
8

output:

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

result:

points 1.0 points  1.0 correct, 19 queries

Test #89:

score: 78
Accepted
time: 12ms
memory: 3700kb

input:

3
9
9
9
9
9
9
9
9
9
9
9
8
8
9
9
9
8

output:

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

result:

points 1.0 points  1.0 correct, 17 queries

Test #90:

score: 78
Accepted
time: 11ms
memory: 3692kb

input:

3
9
9
9
9
9
9
9
9
9
8
9
9
9
9
9
9
9
9
8

output:

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

result:

points 1.0 points  1.0 correct, 19 queries

Test #91:

score: 78
Accepted
time: 14ms
memory: 3916kb

input:

3
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
7
9
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 26 queries

Test #92:

score: 78
Accepted
time: 12ms
memory: 3684kb

input:

3
9
9
9
9
9
9
9
9
9
9
9
8
9
9
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 17 queries

Test #93:

score: 78
Accepted
time: 9ms
memory: 3716kb

input:

3
9
9
9
9
9
9
9
9
9
9
9
9
7
9
9
9
9
9
9
9
9
7

output:

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

result:

points 1.0 points  1.0 correct, 22 queries

Test #94:

score: 78
Accepted
time: 8ms
memory: 3788kb

input:

10
70
90

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0100000000
0000010000
0001000000
1000000000
0100000000
0000000001
0001100000
1100000000
0000000000
0000001000
!
0100000000
0000010000
0001000000
1000000000
0100000000
0000000001
00001000...

result:

points 1.0 points  1.0 correct, 2 queries

Test #95:

score: 78
Accepted
time: 25ms
memory: 3848kb

input:

10
60
70
70
70
100

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0101000000
1000000000
0000000000
0000010001
11000000...

result:

points 1.0 points  1.0 correct, 5 queries

Test #96:

score: 78
Accepted
time: 20ms
memory: 4032kb

input:

10
64
80
91
82

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0111011001
0000000000
0001000000
1000010000
0000000001
0000010000
10000000...

result:

points 1.0 points  1.0 correct, 4 queries

Test #97:

score: 78
Accepted
time: 40ms
memory: 3784kb

input:

10
65
72
76
86
84
79
93

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0101000000
1000000000
0000000000
0000010001
11000000...

result:

points 1.0 points  1.0 correct, 7 queries

Test #98:

score: 78
Accepted
time: 45ms
memory: 3864kb

input:

10
58
68
72
79
94
94
90
100
92

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0100000000
0000010000
0001000000
1000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000000000
?
0000000000
0000010100
0001000000
0000000000
0000000001
0001010001
00000000...

result:

points 1.0 points  1.0 correct, 9 queries

Test #99:

score: 78
Accepted
time: 138ms
memory: 4112kb

input:

10
64
65
80
84
97
92
88
98
96
99
97
100
100
100
100
96
98

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0100000000
1000000000
1000000001
0000010001
11000000...

result:

points 1.0 points  1.0 correct, 17 queries

Test #100:

score: 78
Accepted
time: 96ms
memory: 3920kb

input:

8
39
49
52
56
56
59
64
60
64
60
61
64
64
61
64
64
64
64

output:

?
00000000
00000100
01000000
00000000
00000010
00000011
00000100
00010001
?
00000000
00000110
11000000
10000000
00000010
00000011
00000100
00010001
?
01000000
00100110
11000000
10000000
00000010
00000111
00000100
00001001
?
01100000
00000010
11000010
10000000
00000010
00000001
00000100
00011001
?
00...

result:

points 1.0 points  1.0 correct, 18 queries

Test #101:

score: 78
Accepted
time: 121ms
memory: 3964kb

input:

10
64
65
80
85
94
90
96
94
98
98
98
98
100
100
98
100
100
100

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0100000000
1000000000
1000000001
0000010001
11000000...

result:

points 1.0 points  1.0 correct, 18 queries

Test #102:

score: 78
Accepted
time: 73ms
memory: 3744kb

input:

9
45
61
65
65
69
73
75
72
81
81

output:

?
000100000
000000000
100000000
000000000
000000000
000000010
000010100
100001000
001000000
?
000100000
000000000
000000000
000001000
000000010
000000010
000010100
100000000
101100100
?
000000000
000000000
100000000
010001010
010000010
000000010
000010100
100000000
001000100
?
010000000
000000000
10...

result:

points 1.0 points  1.0 correct, 10 queries

Test #103:

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

input:

10
55
68
72
88
88
91
94
97
94
100
100
100
96

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0000000000
0000011000
0010000001
0000010001
0000000000
1100000000
0000000100
0000000000
?
0010000000
0010010000
0001000000
1000011000
0010000000
0000011001
00000000...

result:

points 1.0 points  1.0 correct, 13 queries

Test #104:

score: 78
Accepted
time: 69ms
memory: 3848kb

input:

10
60
73
88
80
84
80
85
94
100
95
92
94

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0101000000
1000000000
1000000001
0000000001
11000000...

result:

points 1.0 points  1.0 correct, 12 queries

Test #105:

score: 78
Accepted
time: 46ms
memory: 3912kb

input:

10
60
76
76
90
93
100
82

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0100000000
1000000000
1000000001
0000010001
11000000...

result:

points 1.0 points  1.0 correct, 7 queries

Test #106:

score: 78
Accepted
time: 18ms
memory: 3732kb

input:

10
51
55
92
100
86
100
100
100
94
100
100
93

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0010000000
0000010000
0001000000
1000010000
0010000001
0000010001
0000000000
1100000000
0000000000
0000000000
?
0010100000
0000000000
0000000000
1000000010
0010000010
0000010001
00000100...

result:

points 1.0 points  1.0 correct, 12 queries

Test #107:

score: 78
Accepted
time: 38ms
memory: 3800kb

input:

10
70
82
76
93
79
94
97
96

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0100000000
0000010000
0001000000
1000000000
0100000000
0000000001
0001100000
1100000000
0000000000
0000001000
?
0100001011
0000000000
0000000000
1000000000
0100000001
0000010001
00011000...

result:

points 1.0 points  1.0 correct, 8 queries

Test #108:

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

input:

10
64
80
84
91
94
92

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0111011001
0000000000
0001000000
1000010000
0000000001
0000010000
10000000...

result:

points 1.0 points  1.0 correct, 6 queries

Test #109:

score: 78
Accepted
time: 72ms
memory: 3780kb

input:

10
68
76
84
82
82
92
91
92
96
94
98
97

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0010000000
0000010010
0001000000
1000000000
0000000000
0000010001
0000000000
1100000000
0000000100
0000001000
?
0010000000
0000010010
0001000000
0000000000
0010000001
0000010001
10000000...

result:

points 1.0 points  1.0 correct, 12 queries

Test #110:

score: 78
Accepted
time: 68ms
memory: 3916kb

input:

10
60
68
70
79
88
82
85
86
92
96
98
96

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0100000000
1000000000
1000000001
0000010001
11000000...

result:

points 1.0 points  1.0 correct, 12 queries

Test #111:

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

input:

10
60
64
76
88
82
88
96
92
96
98
92
96
97
96
99

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0100000000
1000000000
1000000001
0000010001
11000000...

result:

points 1.0 points  1.0 correct, 15 queries

Test #112:

score: 78
Accepted
time: 32ms
memory: 3872kb

input:

10
55
68
64
88
88
96
99
98
97

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0000000000
0000011000
0010000001
0000010001
0000000000
1100000000
0000000100
0000000000
?
0010000000
0010010000
0001000000
1000011000
0010000000
0000011001
00000000...

result:

points 1.0 points  1.0 correct, 9 queries

Test #113:

score: 78
Accepted
time: 42ms
memory: 3836kb

input:

10
51
65
73
76
92
97
99
97

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0010000000
0000010000
0001000000
1000010000
0010000001
0000010001
0000000000
1100000000
0000000000
0000000000
?
0000000000
0000010000
0000000000
1000001100
0010000001
0000010001
00000100...

result:

points 1.0 points  1.0 correct, 8 queries

Test #114:

score: 78
Accepted
time: 44ms
memory: 3920kb

input:

10
52
58
72
88
76
88
86
98
94
98

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0010000000
0000010000
0001000000
1000010000
0010000001
0000010001
0000000000
1100000000
0000000000
0000000000
?
0010000000
0000010000
0000000000
1000010000
0000000001
0000010001
00000100...

result:

points 1.0 points  1.0 correct, 10 queries

Test #115:

score: 78
Accepted
time: 30ms
memory: 3808kb

input:

10
70
82
68
82
100
88
85
100
94
90
96

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0100000000
0000010000
0001000000
1000000000
0100000000
0000000001
0001100000
1100000000
0000000000
0000001000
?
0100001011
0000000000
0000000000
1000000000
0100000001
0000010001
00011000...

result:

points 1.0 points  1.0 correct, 11 queries

Test #116:

score: 78
Accepted
time: 54ms
memory: 4000kb

input:

10
60
70
80
82
96
96
100
100
100
96

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0101000000
1000000000
0000000000
0000010001
11000000...

result:

points 1.0 points  1.0 correct, 10 queries

Test #117:

score: 78
Accepted
time: 168ms
memory: 3988kb

input:

10
52
72
75
92
91
90
98
100
100
100
96
100
98
98
98
100
98
100
94
100
100
99

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0010000000
0000010000
0001000000
1000010000
0010000001
0000010001
0000000000
1100000000
0000000000
0000000000
?
0010000000
0000010000
0000000000
1000010000
0000010001
0000010001
00000100...

result:

points 1.0 points  1.0 correct, 22 queries

Test #118:

score: 78
Accepted
time: 77ms
memory: 4000kb

input:

10
58
64
64
75
84
84
95
94
96
96
100
98
100
100
98
98
96
100

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0100000000
0000010000
0001000000
1000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000000000
?
0100000000
0000010000
0001000000
1000000000
0000000001
0000010001
10000000...

result:

points 1.0 points  1.0 correct, 18 queries

Test #119:

score: 78
Accepted
time: 95ms
memory: 3932kb

input:

10
58
72
79
85
84
88
94
92
98
97
99
98
100

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0100000000
0000010000
0001000000
1000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000000000
?
0100000000
0000010000
0001000000
1000000000
0000000001
0000010001
10000000...

result:

points 1.0 points  1.0 correct, 13 queries

Test #120:

score: 78
Accepted
time: 13ms
memory: 3808kb

input:

10
73
91
91
91

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0010000000
0000010000
0001000000
0000000000
0100000000
0000010001
0000110000
0100000000
0000000100
0000001000
?
0100000010
0000010000
0001000000
0000000000
0000000001
1110011101
00001100...

result:

points 1.0 points  1.0 correct, 4 queries

Test #121:

score: 78
Accepted
time: 78ms
memory: 3864kb

input:

10
64
73
80
68
100
100
100
88
94
93

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0101000000
1000000000
1000000001
0000000001
11000000...

result:

points 1.0 points  1.0 correct, 10 queries

Test #122:

score: 78
Accepted
time: 50ms
memory: 4052kb

input:

9
57
57
65
65
72
72
74

output:

?
000100000
000000000
100000000
000000000
000000000
000000010
000010100
100001000
001000000
?
000100000
000000000
100000000
000001000
000000000
100000010
000010100
100001000
000000100
?
000100001
000000000
100010001
000001000
000000000
100000010
000010100
100100000
001000000
?
000100000
000000000
10...

result:

points 1.0 points  1.0 correct, 7 queries

Test #123:

score: 78
Accepted
time: 74ms
memory: 3904kb

input:

9
57
65
65
67
81
81
81
81
75
81
74

output:

?
000100000
000000000
100000000
000000000
000000000
000000010
000010100
100001000
001000000
?
000100000
000000000
100000000
000001000
000000000
100000010
000010100
100001000
000000100
?
000000001
000000000
100010011
000001000
000010000
100000010
000010000
100101000
001000100
?
001100001
000000000
00...

result:

points 1.0 points  1.0 correct, 11 queries

Test #124:

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

input:

8
43
57
57
64
64
64
64
64
64
64
56

output:

?
00000000
00000100
01000000
00000000
00000010
00000011
00000100
00010001
?
00100000
00000110
11000000
10000000
00000010
00000111
00000000
00010000
?
00100000
00000110
10000010
10000011
00000010
00001001
00000000
00010001
?
01100000
01000110
00100000
10000001
00001010
00011111
00000100
00000001
?
01...

result:

points 1.0 points  1.0 correct, 11 queries

Test #125:

score: 78
Accepted
time: 24ms
memory: 3804kb

input:

8
50
43
58
64
57

output:

?
00000000
00000100
01000000
00000000
00000010
00000011
00000100
00010001
?
00100010
00000110
01000000
00100000
00000000
00010011
00000000
00000001
?
00100010
00000110
01000000
00010011
00000000
00010001
00000100
10110001
?
00100010
00000110
01000000
00101111
00000010
00000011
00000100
11111011
?
00...

result:

points 1.0 points  1.0 correct, 5 queries

Test #126:

score: 78
Accepted
time: 100ms
memory: 3944kb

input:

7
31
43
42
49
49
49
49
49
49
44
49
49
49
49
45

output:

?
0010110
0000000
0100010
0010000
0000000
0000000
0100001
?
0100110
0000001
0100010
0010000
0100001
0001000
0000001
?
0110110
0001001
0000110
0010000
0100001
0000000
0100000
?
1111110
0001001
0100100
1010000
0100001
0001000
1001001
?
1011110
0001000
0100110
1111000
0100001
1000000
1101001
?
0111010
...

result:

points 1.0 points  1.0 correct, 15 queries

Test #127:

score: 78
Accepted
time: 90ms
memory: 4120kb

input:

7
31
43
42
49
49
49
49
49
49
49
49
49
49

output:

?
0010110
0000000
0100010
0010000
0000000
0000000
0100001
?
0100110
0000001
0100010
0010000
0100001
0001000
0000001
?
0110110
0001001
0000110
0010000
0100001
0000000
0100000
?
1111110
0001001
0100100
1010000
0100001
0001000
1001001
?
1011110
0001000
0100110
1111000
0100001
1000000
1101001
?
0111010
...

result:

points 1.0 points  1.0 correct, 13 queries

Test #128:

score: 78
Accepted
time: 46ms
memory: 4088kb

input:

10
73
84
86
94
72
100
88

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0010000000
0000010000
0001000000
0000000000
0100000000
0000010001
0000110000
0100000000
0000000100
0000001000
?
0010000010
0000000000
0001000000
1000000000
0100000001
1001010000
00000100...

result:

points 1.0 points  1.0 correct, 7 queries

Test #129:

score: 78
Accepted
time: 52ms
memory: 4092kb

input:

10
68
79
85
76
86
88
94

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0010000000
0000010010
0001000000
1000000000
0000000000
0000010001
0000000000
1100000000
0000000100
0000001000
?
0110000000
0000010010
0001001000
0000000000
0010000000
0000010001
00000000...

result:

points 1.0 points  1.0 correct, 7 queries

Test #130:

score: 78
Accepted
time: 123ms
memory: 4240kb

input:

10
65
72
85
88
96
85
88
92
100
95
100
96
98
96
98
94
99
94

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0101000000
1000000000
0000000000
0000010001
11000000...

result:

points 1.0 points  1.0 correct, 18 queries

Test #131:

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

input:

10
64
76
90
88
96
94
94
95
98
94
88
94
97
97

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0100000000
1000000000
1000000001
0000010001
11000000...

result:

points 1.0 points  1.0 correct, 14 queries

Test #132:

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

input:

10
58
76
80
76
65
88
94
92
97
92
92
94
94
94
100
98
100
100

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0100000000
0000010000
0001000000
1000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000000000
?
0100000000
0000010000
0001000000
1000000000
0000000001
0000010001
10000000...

result:

points 1.0 points  1.0 correct, 18 queries

Test #133:

score: 78
Accepted
time: 74ms
memory: 4024kb

input:

10
58
64
64
70
85
88
92
85
91
91
98
99

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0100000000
0000010000
0001000000
1000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000000000
?
0100000000
0000010000
0001000000
1000000000
0000000001
0000010001
10000000...

result:

points 1.0 points  1.0 correct, 12 queries

Test #134:

score: 78
Accepted
time: 77ms
memory: 3916kb

input:

10
64
72
85
88
88
88
94
97
94
91
99
100
96

output:

?
0000000000
0000010000
0001000000
1000000000
0000000000
0000010001
0000000000
1000000000
0000000100
0000001000
?
0000000000
0000010000
0001000000
0000000000
0000000001
0000010001
1000000000
1100000000
0000000100
0000001000
?
0110000000
0000010000
0100000000
1000000000
1000000001
0000010001
11000000...

result:

points 1.0 points  1.0 correct, 13 queries

Test #135:

score: 78
Accepted
time: 194ms
memory: 4028kb

input:

100
700
1100
1400
2000
2700
3400
4000
4400
5200
6500
6200
6600
7500
7300
7200
8400

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 16 queries

Test #136:

score: 78
Accepted
time: 172ms
memory: 3964kb

input:

100
800
1100
1400
2000
2900
3400
4000
4600
5400
6600
6600
6700
7600
7100
7300

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 15 queries

Test #137:

score: 78
Accepted
time: 469ms
memory: 4452kb

input:

100
788
984
1288
1684
1964
2337
2725
3350
3540
3140
3856
3920
4432
4585
5053
4912
6334
6616
6865
6745
6838
8089
7210
7725
7930
8362
7462
7768

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 28 queries

Test #138:

score: 78
Accepted
time: 882ms
memory: 4228kb

input:

100
785
1072
1168
1072
1264
1464
1648
2104
2281
2292
2447
2467
2364
2386
2811
3160
3100
3700
2993
4296
4606
4896
4954
4984
5495
5072
5650
5528
6260
6940
6597
6966
7680
7504
7294
7622
8056
7975
7738
8152
8125
7816
8200
8306
8446
9088

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 46 queries

Test #139:

score: 78
Accepted
time: 1262ms
memory: 4440kb

input:

100
784
975
1165
1072
1352
1164
1444
1630
1352
1990
2170
2257
1904
2346
2374
2776
2969
3136
3526
3784
3868
3868
4424
4560
4897
4400
5260
5200
5950
5688
5650
5856
5839
6204
6300
6290
6717
6544
6964
6710
7200
7768
7792
7620
8392
7861
8191
7484
8362
8144
8761
8392
8460
8724
9056
9048
9048
8625
9065
8993

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 60 queries

Test #140:

score: 78
Accepted
time: 1497ms
memory: 4216kb

input:

100
694
979
1180
1640
1744
2002
2350
2256
2620
3127
3464
3200
3196
3840
3775
4160
4178
4240
4604
4756
5109
5181
5030
5800
5385
5988
6238
6047
6172
6736
6864
6620
6776
7086
7050
7000
7316
7300
7540
7743
7844
7986
8298
8425
8606
8504
8605
8946
8668
8830
8830
8810
8647
8911
9168
9471
9384
9271
9496
932...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 63 queries

Test #141:

score: 78
Accepted
time: 2007ms
memory: 4280kb

input:

100
690
979
1070
1258
1536
1352
1816
2080
1812
2350
2344
2692
2862
3040
2969
3768
3601
3692
3680
3522
4375
4168
4148
4687
4963
4756
5200
5243
5578
5380
5584
6288
5974
6157
5644
6220
6156
6436
6706
7109
6751
6932
7039
6808
7060
7712
7608
7888
8068
7650
8064
7930
7888
7976
8360
8068
8713
8631
8452
891...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 78 queries

Test #142:

score: 78
Accepted
time: 1917ms
memory: 4380kb

input:

100
788
976
1260
1352
1446
1810
1723
1996
1810
2265
2440
2346
2440
3206
2953
3120
3378
3526
3840
3840
3920
3916
4225
4160
4528
4375
4817
4960
4832
5240
4817
5310
5645
5722
5968
5580
6340
5710
6096
6283
6165
6342
6640
6828
6523
6280
6645
7403
7032
6984
7195
7084
7509
7608
7868
8167
8323
7660
8237
828...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 81 queries

Test #143:

score: 78
Accepted
time: 1492ms
memory: 4268kb

input:

100
688
880
1076
1352
1444
1812
1904
1909
1904
1996
2260
2256
2860
2520
3378
2953
3200
3206
4014
3850
4075
3526
4096
4400
4852
4774
4865
4600
5725
6124
6024
5527
5920
6230
6181
5970
6535
5882
6502
6672
7760
6913
7227
7536
7760
7816
7738
7868
7979
8164
7948
8605
8800
9100
8804
8515
8974
8920
9010
902...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 67 queries

Test #144:

score: 78
Accepted
time: 1597ms
memory: 4304kb

input:

100
785
1072
1165
1072
1264
1456
1810
1990
1990
2256
1810
1992
2260
2613
2620
2880
2945
3292
3616
3285
4000
3763
4320
4071
4411
4900
5243
4764
5060
5182
5653
5860
6067
6620
6350
6500
6184
6706
6992
7056
7378
7465
7186
7738
7970
7720
8144
8289
8295
8357
8376
8848
8887
8856
8357
9118
8887
8608
8920
88...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 69 queries

Test #145:

score: 78
Accepted
time: 1330ms
memory: 4396kb

input:

100
785
1070
1164
976
979
1076
1634
1634
1634
2174
2180
1949
2574
2732
3147
3625
3224
3880
4104
4150
4645
4540
5296
4937
5186
4998
5200
5892
5869
6568
6240
6200
6366
6560
6689
6788
6850
7188
6788
7550
7302
7378
7892
7725
7484
7822
7984
8551
8080
8740
8512
8636
8584
8768
8475
8450
8992
8997
8461
8719...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 62 queries

Test #146:

score: 78
Accepted
time: 605ms
memory: 4236kb

input:

100
800
1082
1367
1949
1949
2278
3420
3118
3490
3862
4048
3445
4296
4327
5071
5283
4838
4978
5817
6304
6178
5722
6529
6259
7448
7144
7536
7960
7925
7816
7975
8284
8002
8578
7868

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 35 queries

Test #147:

score: 78
Accepted
time: 664ms
memory: 4144kb

input:

100
793
984
984
1464
1840
1981
2224
2590
2416
2800
3304
3490
3468
3255
3397
3928
4548
5105
5450
5124
5680
5723
6480
6433
7477
7241
7790
6855
7764
8218
7477
8442
8152
8320
8341
8423
8091

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 37 queries

Test #148:

score: 78
Accepted
time: 670ms
memory: 4336kb

input:

100
700
1100
1400
1981
2476
2872
2674
2872
2971
3763
4060
4060
4512
4904
5492
5842
5982
6472
6634
6931
7942
7942
7921
8176
8290
8368
8726
8257
8768
8320
8394
8917
8320
9154
9269
9195
9440
9626
9433

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 39 queries

Test #149:

score: 78
Accepted
time: 740ms
memory: 4268kb

input:

100
700
1100
1400
2000
2700
3400
4000
4357
5149
4753
4800
5492
6472
5829
6374
7216
6799
7216
7245
7648
8080
8195
7954
8308
8026
8020
8740
7998
8175
8392
9118
8436
8758
9107
9139
9175
9320
9582
9475

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 39 queries

Test #150:

score: 78
Accepted
time: 650ms
memory: 4272kb

input:

100
700
1100
1400
2000
2700
3400
4000
4400
5200
6500
6200
6535
6931
6962
7256
7284
8060
7672
7090
7530
8385
8496
8089
8560
8100
8861
8180
8822
8800
8919
9244
9241
9360
9362
9391
9514

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 36 queries

Test #151:

score: 78
Accepted
time: 690ms
memory: 4152kb

input:

100
800
1100
1400
2000
2900
3367
3862
4357
4218
4708
5347
5149
6238
6178
6508
6508
7575
6931
7723
7696
8176
8308
8100
8695
7786
8306
8068
8400
8376
8980
8434
9080
9028
9200
9259
9300
9412
9188
9411

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 39 queries

Test #152:

score: 78
Accepted
time: 828ms
memory: 4252kb

input:

100
800
1100
1400
1981
2476
3070
2900
2971
3763
4555
5100
5786
5941
6080
6436
7129
7672
8254
7720
7187
7650
8195
8590
8290
7815
7660
7508
8200
8740
8537
8727
8946
8620
8778
9100
9303
9456
9379
9274
9496
9490

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 41 queries

Test #153:

score: 78
Accepted
time: 735ms
memory: 4024kb

input:

100
800
1100
1400
2000
2872
3367
3367
3924
3763
4414
4414
5248
5394
5743
6508
7284
6928
7530
7625
7408
8308
7650
7600
7600
8140
8131
8130
8114
8298
9076
8677
8202
8800
8866
9011
9260
9428
9640
9480
9560

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 40 queries

Test #154:

score: 78
Accepted
time: 1072ms
memory: 4240kb

input:

100
690
984
1278
1367
1572
2434
2896
2762
2896
2628
3608
3760
4327
4234
4267
4480
4885
5050
5177
5018
5512
6646
6360
6760
7076
7732
6744
7732
7025
8091
8080
8442
7960
8341
8720
8488
8882
8832
8950
8848
8614
8768
8920
8965
9180
9439
9592
9584
9643
9428

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 50 queries

Test #155:

score: 78
Accepted
time: 1155ms
memory: 4292kb

input:

100
793
991
1090
1572
2046
1964
2650
2970
3676
3468
3583
3490
4141
3952
4266
4296
5308
5032
5216
5032
5676
5680
5359
6310
6130
6433
6732
6474
7178
6656
7450
7535
7840
8080
7622
7660
8000
8537
8784
7867
8686
8076
9160
8464
8722
9202
9152
9355
9490
9280
9506
9411
9425
9595
9662

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 55 queries

Test #156:

score: 78
Accepted
time: 646ms
memory: 4204kb

input:

100
700
1100
1400
1981
2500
3169
3268
4000
3961
4610
5198
5247
5492
5344
6178
6276
6472
6314
6766
7478
7696
7768
9010
8328
7796
8686
8803
8740
8658
8600
8966
9098
9406
9040
9400
9430
9525
9272

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 38 queries

Test #157:

score: 78
Accepted
time: 2539ms
memory: 4324kb

input:

100
688
880
1070
976
1352
1352
1264
1545
1723
2083
1720
1992
1900
2168
2168
2520
2776
2862
3200
3277
3682
3994
3604
3920
4312
4302
4675
5255
4300
4816
4306
4888
4524
5136
5380
5842
5511
6340
6157
5980
6751
6416
6580
6694
7144
7032
7300
7456
7207
7200
8026
7721
7599
7893
8065
7705
8284
8520
8323
8290...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 84 queries

Test #158:

score: 78
Accepted
time: 1981ms
memory: 4348kb

input:

100
784
975
1165
1072
1355
1264
1360
1901
2002
2356
2953
2524
2800
2866
2620
2944
3115
3616
3360
3439
3994
4154
4080
4273
4604
5008
5086
5500
5486
5998
6238
5634
6080
6150
6181
6150
6165
6724
6067
6926
7448
7120
7195
6979
7608
7501
7700
7795
7888
7750
8110
8252
8062
8240
8236
8328
8594
8640
8698
882...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 81 queries

Test #159:

score: 77.4783
Acceptable Answer
time: 2280ms
memory: 4400kb

input:

100
784
975
1164
976
1070
1446
1260
1628
1628
2079
1990
1810
2168
2080
2432
2174
2524
2260
2872
3111
3034
3360
3448
4150
3840
4300
4456
4671
4600
4671
4756
5380
5653
5580
5860
5515
5380
5974
6094
6280
6864
6156
6096
6976
7088
6409
7093
6519
7246
7192
7408
7552
7750
8194
7795
7893
7697
8236
8635
8614...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 0.99331103680 points  0.9933110368 correct, 88 queries

Test #160:

score: 76.9565
Acceptable Answer
time: 2318ms
memory: 4244kb

input:

100
785
1082
1070
1260
1634
1630
1165
1628
1812
2168
2344
2608
2518
3030
3030
3115
2608
2953
3120
3532
3680
3917
3206
4233
3840
3996
4744
4452
4817
5172
4960
4744
5377
5456
4960
5852
6031
6283
5968
5904
5446
6590
6544
6922
6828
6755
6700
7036
7504
7501
7608
7550
7400
7250
7936
7885
8108
8206
8245
79...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 0.98662207360 points  0.9866220736 correct, 91 queries

Test #161:

score: 78
Accepted
time: 2042ms
memory: 4312kb

input:

100
785
1072
1168
1072
1260
1446
1540
1822
1540
2083
1720
2010
2518
2702
2953
3214
2696
2530
3532
2953
3520
3784
4150
4330
4225
4300
4852
4640
4744
5030
4598
5170
5598
5310
5852
6220
6094
6181
6460
6283
6218
6520
6810
6920
6544
6755
6979
7552
7599
7556
7516
7668
7840
8155
8020
8089
8152
8308
8200
80...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 84 queries

Test #162:

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

input:

100
694
892
1387
1400
2080
2179
2971
3763
4060
4800
5600
5743
7030
7228
7228
8119
7921

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 17 queries

Test #163:

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

input:

100
793
991
1100
1800
1882
2900
2674
4100
4159
4753
5248
5700
6634
6962
7158
7030
7624
7921

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 18 queries

Test #164:

score: 78
Accepted
time: 265ms
memory: 4280kb

input:

100
700
1100
1400
2000
2700
3400
4000
4357
5100
4806
5198
5248
5884
6800
7060
7648
7452
8157
7575

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 19 queries

Test #165:

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

input:

100
800
1100
1400
2000
2900
3400
4000
4600
5400
6600
6600
6700
7600
7100
7300

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 15 queries

Test #166:

score: 78
Accepted
time: 291ms
memory: 4100kb

input:

100
700
1100
1400
2000
2674
3238
3728
3728
3862
4100
4512
5344
5732
5446
6217
6472
7090
8138
8080
7672
8157

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 21 queries

Test #167:

score: 78
Accepted
time: 277ms
memory: 4008kb

input:

100
700
1100
1400
2000
2700
3400
4000
4400
5200
6500
6200
6600
7500
7300
7256
8236
8236
8236
7822

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 19 queries

Test #168:

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

input:

100
793
976
1165
1444
1540
1822
2095
2530
2440
2265
3058
3301
3312
3576
3475
3808
4120
4480
4522
4506
5200
5102
5576
5380
5418
5668
5968
6450
6100
6504
6663
6250
6861
6150
7387
6876
6985
7454
7052
7416
7348
7595
7732
7804
8048
7699
7987
8176
8470
8176
8827
8825
8677
8636
8700
8856
8878
8922
9139
867...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 74 queries

Test #169:

score: 77.6522
Acceptable Answer
time: 2146ms
memory: 4572kb

input:

100
784
975
1164
1070
1072
1072
1165
1630
1351
1901
1992
2256
2432
2518
2080
2604
2520
2605
3112
2945
3028
3285
3680
3520
3277
3682
3868
4470
4470
4384
4687
4411
5693
5669
5634
5775
5320
6157
6157
5775
6535
6706
6340
6238
6568
7244
6932
7244
7456
7036
7400
7792
7972
7795
8108
8151
8022
8160
8138
806...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 0.99554069120 points  0.9955406912 correct, 87 queries

Test #170:

score: 78
Accepted
time: 1907ms
memory: 4484kb

input:

100
688
882
1164
1258
1352
1720
1728
1904
1916
2260
2548
2608
3112
3364
3378
3700
3917
3917
4148
4150
4148
4225
4456
4744
4894
4825
5104
5310
5320
5239
5376
5710
6165
5980
6370
6700
6094
6157
6460
7256
6700
7192
7552
7256
7764
7838
7608
7480
7930
7885
8152
8280
8518
8480
8401
8844
8705
8840
8934
877...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 77 queries

Test #171:

score: 75.7391
Acceptable Answer
time: 2391ms
memory: 4320kb

input:

100
690
976
1070
1070
1351
1537
1628
1810
2080
1719
2083
2174
1904
2608
2702
2945
2944
2945
3028
3280
3277
3276
3838
4452
3768
4154
4379
4604
4750
4968
5050
5255
5512
5653
5486
6056
6160
5998
6342
6535
6370
6706
6760
6528
6520
6700
7200
7032
7368
7244
7250
7192
7408
7840
7608
7668
7552
8360
8065
802...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 0.97101449280 points  0.9710144928 correct, 98 queries

Test #172:

score: 78
Accepted
time: 2121ms
memory: 4588kb

input:

100
784
975
1165
1076
1360
1648
2104
2010
2180
2800
2180
2431
3370
3448
2702
3692
3562
3526
3760
3844
4006
4224
4900
5116
5170
5392
5104
5584
5240
5644
5968
6096
6157
5905
5840
6172
6425
6868
6940
6868
7207
7296
7399
7144
7400
7415
7470
7792
7552
7795
7884
8160
8284
8194
8320
8409
8442
8280
8565
838...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 82 queries

Test #173:

score: 78
Accepted
time: 81ms
memory: 4140kb

input:

5
21
23
24
21
23
25
23
25
25
25
25
25
23
24
22
25
25
24

output:

?
01001
00001
01100
11000
00010
?
01001
00101
00100
11101
00010
?
11001
00011
00110
11101
00010
?
01000
00111
01111
11001
00000
?
10101
01111
00011
00001
00010
?
11001
01111
00110
10111
01001
?
01101
00000
00111
11101
01001
?
10101
11010
01011
11111
01010
?
11101
11111
00101
01111
01011
?
11100
0111...

result:

points 1.0 points  1.0 correct, 18 queries