QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#561564#9188. Light BulbsLeafSeek99.652174 2157ms4624kbC++172.7kb2024-09-12 23:56:012024-09-12 23:56:02

详细

Subtask #1:

score: 11
Accepted

Test #1:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 18 queries

Test #2:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 16 queries

Test #3:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 21 queries

Test #4:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 19 queries

Test #5:

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

input:

3
9
9
9
9
9
8
8

output:

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

result:

points 1.0 points  1.0 correct, 7 queries

Test #6:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 16 queries

Test #7:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 21 queries

Test #8:

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

input:

3
9
9
9
8
9
9
9
6
8
8
9
9
9
8
9
8

output:

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

result:

points 1.0 points  1.0 correct, 16 queries

Test #9:

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

input:

3
9
8
9
8

output:

?
111
111
111
?
111
011
111
?
111
111
101
?
101
111
011
!
100
100
100

result:

points 1.0 points  1.0 correct, 4 queries

Test #10:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 16 queries

Test #11:

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

input:

3
9
9
9
9
8
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 8 queries

Test #12:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 30 queries

Test #13:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 18 queries

Test #14:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 21 queries

Test #15:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 16 queries

Test #16:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 46 queries

Test #17:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 16 queries

Subtask #2:

score: 11
Accepted

Dependency #1:

100%
Accepted

Test #18:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 18 queries

Test #19:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 16 queries

Test #20:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 21 queries

Test #21:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 19 queries

Test #22:

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

input:

3
9
9
9
9
9
8
8

output:

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

result:

points 1.0 points  1.0 correct, 7 queries

Test #23:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 16 queries

Test #24:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 21 queries

Test #25:

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

input:

3
9
9
9
8
9
9
9
6
8
8
9
9
9
8
9
8

output:

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

result:

points 1.0 points  1.0 correct, 16 queries

Test #26:

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

input:

3
9
8
9
8

output:

?
111
111
111
?
111
011
111
?
111
111
101
?
101
111
011
!
100
100
100

result:

points 1.0 points  1.0 correct, 4 queries

Test #27:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 16 queries

Test #28:

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

input:

3
9
9
9
9
8
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 8 queries

Test #29:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 30 queries

Test #30:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 18 queries

Test #31:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 21 queries

Test #32:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 16 queries

Test #33:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 46 queries

Test #34:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 16 queries

Test #35:

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

input:

10
40
100

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000010000
0000010101
0100000000
0000000001
0100000000
0000000010
0000000010
1000000000
0000001001
0111000000
!
0000010000
0000010000
0100000000
0000000001
0100000000
0000000010
00000000...

result:

points 1.0 points  1.0 correct, 2 queries

Test #36:

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

input:

10
70
90
70

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000000
0000010101
1000000010
1000000000
0100000000
0001000000
0000000010
0000000010
0000001001
0111000000
?
0001000000
0000000101
0000000010
1000000000
0000100000
1001000000
00000000...

result:

points 1.0 points  1.0 correct, 3 queries

Test #37:

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

input:

10
40
92
84
100
100
100
91

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000010000
0000010101
0100000000
0000000001
0100000000
0000000010
0000000010
1000000000
0000001001
0111000000
?
0000010000
0000010101
0100000000
0001000000
0000000000
0100000010
01001000...

result:

points 1.0 points  1.0 correct, 7 queries

Test #38:

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

input:

10
46
72
84
93
95
100
100
88
92
94

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010111
0000000000
0000000000
0001100000
1000000000
0000000000
0000000000
0000001001
0111000000
?
0000000010
0000010000
0000000000
0000000010
0101100000
1000000000
00000000...

result:

points 1.0 points  1.0 correct, 10 queries

Test #39:

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

input:

10
52
64
60
52
92
88
90
88
95
100
97
100
100
97
96

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010101
0000000000
0000000000
0100100000
0000000000
0000100000
0000000000
0000001001
0101000000
?
0000000000
0000010001
0000000000
0000001000
0000010001
0000000000
00001000...

result:

points 1.0 points  1.0 correct, 15 queries

Test #40:

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

input:

10
52
76
70
84
76
88
90
90
97
100
96
100
97
96

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010101
0000000000
0000000000
0100100000
0000000000
0000100000
0000000000
0000001001
0101000000
?
0000000010
0000000101
0000000000
0000000000
0101101000
0000000001
10000000...

result:

points 1.0 points  1.0 correct, 14 queries

Test #41:

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

input:

8
46
49
54
59
64
64
58
56
64
58

output:

?
00110000
00100000
00000000
00000000
00100000
01100000
10000000
00001000
?
00110001
10100000
00100001
00000000
00100000
01110000
00000000
00001000
?
00110000
10100000
00100001
00000000
00110000
01110000
10000000
00001000
?
00110001
00100000
00000000
00100000
00100000
00110100
10000000
00101000
?
00...

result:

points 1.0 points  1.0 correct, 10 queries

Test #42:

score: 11
Accepted
time: 77ms
memory: 3740kb

input:

10
64
82
80
94
90
94
96
100
100
100
98
98
100
99

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000000
0000010101
0000000000
0000000000
0101100000
1000000000
0000100000
0000000000
0000001000
0111000000
?
0000000010
0000010101
0000000000
0000000000
0111000000
1000000000
00000000...

result:

points 1.0 points  1.0 correct, 14 queries

Test #43:

score: 11
Accepted
time: 133ms
memory: 4136kb

input:

9
53
63
53
57
61
69
72
79
81
79
81
80
81
80
81
81
80
77
80

output:

?
000100001
000000001
001000000
000010000
000011000
000000000
000000000
000000000
000001000
?
000000001
000000001
001001000
000010000
000011000
000000010
001100000
000000000
000001000
?
000110000
000000000
001001000
000000000
000010000
100000010
001000000
000000000
000001010
?
000110011
000000000
00...

result:

points 1.0 points  1.0 correct, 19 queries

Test #44:

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

input:

10
64
91
86
76
82
100
94
94
95

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000000
0000010101
0000000000
0000000000
0101100000
1000000000
0000100000
0000000000
0000001000
0111000000
?
0000000010
0001110001
0001000000
0000000000
0100100000
1000000000
00000000...

result:

points 1.0 points  1.0 correct, 9 queries

Test #45:

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

input:

10
70
93
76
86
95
96
96
100
80

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000000
0000010101
1000000010
1000000000
0100000000
0001000000
0000000010
0000000010
0000001001
0111000000
?
0001000000
0000000101
0000000010
1000000000
0000100000
1001000000
00000000...

result:

points 1.0 points  1.0 correct, 9 queries

Test #46:

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

input:

10
64
82
84
91
92
100

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000000
0000010101
0000000000
0000000000
0101100000
1000000000
0000100000
0000000000
0000001000
0111000000
?
0000000010
0000010101
0000000000
0000000000
0111000000
1000000000
00000000...

result:

points 1.0 points  1.0 correct, 6 queries

Test #47:

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

input:

10
70
90
73

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000000
0000010101
1000000010
1000000000
0100000000
0001000000
0000000010
0000000010
0000001001
0111000000
?
0001000000
0000000101
0000000010
1000000000
0000100000
1001000000
00000000...

result:

points 1.0 points  1.0 correct, 3 queries

Test #48:

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

input:

10
40
91
80
97
98
97

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000010000
0000010101
0100000000
0000000001
0100000000
0000000010
0000000010
1000000000
0000001001
0111000000
?
0000000000
0000010001
1100000000
0011000001
0100100000
0100000010
00001000...

result:

points 1.0 points  1.0 correct, 6 queries

Test #49:

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

input:

10
40
91
79
95
88
93
95
88
95
96
98

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000010000
0000010101
0100000000
0000000001
0100000000
0000000010
0000000010
1000000000
0000001001
0111000000
?
0000000000
0000010001
1100000000
0011000001
0100100000
0100000010
00001000...

result:

points 1.0 points  1.0 correct, 11 queries

Test #50:

score: 11
Accepted
time: 85ms
memory: 4064kb

input:

10
40
91
76
94
94
93
95
92
96
94
94

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000010000
0000010101
0100000000
0000000001
0100000000
0000000010
0000000010
1000000000
0000001001
0111000000
?
0000000000
0000010001
1100000000
0011000001
0100100000
0100000010
00001000...

result:

points 1.0 points  1.0 correct, 11 queries

Test #51:

score: 11
Accepted
time: 33ms
memory: 3784kb

input:

10
70
84
82
94
80
90
97

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000000
0000010101
1000000010
1000000000
0100000000
0001000000
0000000010
0000000010
0000001001
0111000000
?
0001000000
1000010001
1000000010
1001000000
1100100000
0001000000
00000000...

result:

points 1.0 points  1.0 correct, 7 queries

Test #52:

score: 11
Accepted
time: 35ms
memory: 4080kb

input:

10
68
91
91
90
88
97

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010111
0000000000
0000000000
0001100000
1000000000
0000000000
0000000000
0000001001
0111000000
?
0000000010
0000011010
0000001100
0000000100
0100100000
1000001000
00001000...

result:

points 1.0 points  1.0 correct, 6 queries

Test #53:

score: 11
Accepted
time: 56ms
memory: 4024kb

input:

10
64
82
84
84
92
92
95
94
98
99
94

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000000
0000010101
0000000000
0000000000
0101100000
1000000000
0000100000
0000000000
0000001000
0111000000
?
0000000010
0000010101
0000000000
0000000000
0111000000
1000000000
00000000...

result:

points 1.0 points  1.0 correct, 11 queries

Test #54:

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

input:

10
51
65
60
55
79
88
94
88
96
98
96
98

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010101
0000000000
0000000000
0100100000
0000000000
0000100000
0000000000
0000001001
0101000000
?
0000000000
0000010001
0000000000
0000001000
0000010001
0000000000
00001000...

result:

points 1.0 points  1.0 correct, 12 queries

Test #55:

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

input:

10
52
60
70
75
70
72
91
96
88
92
91
96
98
98

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010101
0000000000
0000000000
0100100000
0000000000
0000100000
0000000000
0000001001
0101000000
?
0000000000
0000000001
0000000000
0000001010
0101110001
0000000000
00000000...

result:

points 1.0 points  1.0 correct, 14 queries

Test #56:

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

input:

10
44
79
80
73
95
97
86
90
98
97

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010111
0000000000
0000000100
0101100000
1000000000
0000100000
0000000000
0000000001
0110000000
?
0000000010
0000010110
0000001000
0010000100
0000000000
1000000001
00001000...

result:

points 1.0 points  1.0 correct, 10 queries

Test #57:

score: 11
Accepted
time: 43ms
memory: 4084kb

input:

10
65
79
88
94
90
91
97

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000000
0000010101
0000000000
0000000000
0101100000
1000000000
0000100000
0000000000
0000001000
0111000000
?
0000000010
0000010101
0000000000
0000000000
0111000000
1000000000
00000000...

result:

points 1.0 points  1.0 correct, 7 queries

Test #58:

score: 11
Accepted
time: 93ms
memory: 3900kb

input:

10
58
72
44
68
76
85
96
92
88
97
98
100
100
94
97

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010101
0000000000
0000000000
0100100000
0000000000
0000100000
0000000000
0000001001
0011000000
?
0000000000
0000010101
0000000000
0000000000
0000100100
0000000000
00001000...

result:

points 1.0 points  1.0 correct, 15 queries

Test #59:

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

input:

10
58
70
65
75
70
75
80
75
88
84
98
100
100
96
100
100
100
100

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010101
0000000000
0000000000
0100100000
0000000000
0000100000
0000000000
0000001001
0011000000
?
0000000010
0000000101
0000000000
0000000000
0000100000
0000010000
00000000...

result:

points 1.0 points  1.0 correct, 18 queries

Test #60:

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

input:

10
70
91
90
100
96
84
90
94
100
92
98

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000000
0000010101
1000000010
1000000000
0100000000
0001000000
0000000010
0000000010
0000001001
0111000000
?
0000000000
1000010101
1000000010
0001000000
0000000000
1000000000
00000000...

result:

points 1.0 points  1.0 correct, 11 queries

Test #61:

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

input:

10
46
64
64
92
100
100
100
100
100
100
92
93

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010111
0000000000
0000000000
0001100000
1000000000
0000000000
0000000000
0000001001
0111000000
?
0000000000
0000010111
0000000000
0001000000
0101000000
1000000000
00101000...

result:

points 1.0 points  1.0 correct, 12 queries

Test #62:

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

input:

10
64
91
82
73

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000000
0000010101
0000000000
0000000000
0101100000
1000000000
0000100000
0000000000
0000001000
0111000000
?
0000000010
0001110001
0001000000
0000000000
0100100000
1000000000
00000000...

result:

points 1.0 points  1.0 correct, 4 queries

Test #63:

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

input:

9
46
60
57
57
67
81
74
73

output:

?
000100001
000000001
001000000
000010000
000011000
000000000
000000000
000000000
000001000
?
000000001
000000001
001001000
000010000
000011000
000000010
001100000
000000000
000001000
?
000010011
000001000
001001000
000010000
000001000
100000000
001000000
000000000
000000010
?
000110001
000001001
00...

result:

points 1.0 points  1.0 correct, 8 queries

Test #64:

score: 11
Accepted
time: 36ms
memory: 4024kb

input:

9
53
74
73
81
67
81
67
81
63
63
65

output:

?
000100001
000000001
001000000
000010000
000011000
000000000
000000000
000000000
000001000
?
000000001
000000001
001001000
000010000
000011000
000000010
001100000
000000000
000001000
?
000000011
000000001
000001000
000010000
010000010
000000010
000110101
000000000
000001000
?
000100011
000000001
00...

result:

points 1.0 points  1.0 correct, 11 queries

Test #65:

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

input:

8
40
43
58
64
54
59
64
59
64
58

output:

?
00110000
00100000
00000000
00000000
00100000
01100000
10000000
00001000
?
00100001
10100000
00000001
00000000
00100000
01100100
10000000
00001000
?
00110011
10000100
00000001
00000000
00000000
01110100
00010010
00010010
?
00010111
10100000
00000101
00010100
00100000
01110000
10010010
00011110
?
00...

result:

points 1.0 points  1.0 correct, 10 queries

Test #66:

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

input:

8
48
52
48
64
64
54
59

output:

?
00110000
00100000
00000000
00000000
00100000
01100000
10000000
00001000
?
00110001
00100000
00100001
00000000
00100001
01110100
10000000
00000000
?
00110001
10100000
00000000
00000000
00100001
01110000
10000000
00001010
?
00110001
10101100
00000001
00110000
00100001
00100110
10000000
00001010
?
00...

result:

points 1.0 points  1.0 correct, 7 queries

Test #67:

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

input:

7
39
45
39
39
41
49
45
49
49
49
45
49
49
49
47
46
49
46

output:

?
0100000
0100100
1000000
0000000
0011000
1000010
0000000
?
0100000
0100100
1000010
0001000
0011000
0000010
1010000
?
0000000
0000000
0000011
1001001
0011000
1000010
1000000
?
0000000
0100000
1000011
0001010
0011000
1000000
1010000
?
0000000
0000000
1011011
1011001
0011000
1010011
1010000
?
0100000
...

result:

points 1.0 points  1.0 correct, 18 queries

Test #68:

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

input:

7
39
41
39
39
46
49
49
49
43

output:

?
0100000
0100100
1000000
0000000
0011000
1000010
0000000
?
0100000
0100100
1000010
0001000
0011000
0000010
1010000
?
0000000
0000000
0000011
1001001
0011000
1000010
1000000
?
0000000
0100000
1000011
0001010
0011000
1000000
1010000
?
0101000
0100100
0010010
1011111
0000000
1000011
1010000
?
0101000
...

result:

points 1.0 points  1.0 correct, 9 queries

Test #69:

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

input:

10
58
65
70
58
76
85
80
92
96
96
95
94
97
99
97

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010101
0000000000
0000000000
0100100000
0000000000
0000100000
0000000000
0000001001
0011000000
?
0000000010
0000010100
0000000000
0000000000
0000100000
0000010100
00000000...

result:

points 1.0 points  1.0 correct, 15 queries

Test #70:

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

input:

10
44
84
92
100
92
100

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010111
0000000000
0000000100
0101100000
1000000000
0000100000
0000000000
0000000001
0110000000
?
0000000000
0000010011
0100000000
0000010010
0001000000
1000000000
00001000...

result:

points 1.0 points  1.0 correct, 6 queries

Test #71:

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

input:

10
52
60
73
86
90
90
96
90

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010101
0000000000
0000000000
0100100000
0000000000
0000100000
0000000000
0000001001
0101000000
?
0000000000
0000000001
0000000000
0000001010
0101110001
0000000000
00000000...

result:

points 1.0 points  1.0 correct, 8 queries

Test #72:

score: 11
Accepted
time: 100ms
memory: 4092kb

input:

10
64
75
82
88
95
97
98
90
99
99
100
100
99

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000000
0000010101
0000000000
0000000000
0101100000
1000000000
0000100000
0000000000
0000001000
0111000000
?
0000000010
0000010101
0000000000
0000000000
0111000000
1000000000
00000000...

result:

points 1.0 points  1.0 correct, 13 queries

Test #73:

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

input:

10
58
70
60
75
91
88
84
88
90
98
100
99
97

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010101
0000000000
0000000000
0100100000
0000000000
0000100000
0000000000
0000001001
0011000000
?
0000000010
0000000101
0000000000
0000000000
0000100000
0000010000
00000000...

result:

points 1.0 points  1.0 correct, 13 queries

Test #74:

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

input:

10
58
70
58
76
70
88
88
88
94
91
88
96
98
94
99
99
100
100
100
98
100
100
99

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010101
0000000000
0000000000
0100100000
0000000000
0000100000
0000000000
0000001001
0011000000
?
0000000010
0000000101
0000000000
0000000000
0000100000
0000010000
00000000...

result:

points 1.0 points  1.0 correct, 23 queries

Test #75:

score: 11
Accepted
time: 98ms
memory: 4000kb

input:

10
52
65
65
65
80
84
88
76
90
97
88
97
92
96
99

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010101
0000000000
0000000000
0100100000
0000000000
0000100000
0000000000
0000001001
0101000000
?
0000000010
0000000100
0000000000
0000000000
0100010000
0000000000
00001000...

result:

points 1.0 points  1.0 correct, 15 queries

Test #76:

score: 11
Accepted
time: 89ms
memory: 4096kb

input:

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

output:

?
10010
01011
01000
01010
00000
?
10000
11011
01100
01010
01001
?
00010
11011
01100
00000
10001
?
10010
11011
11001
01011
10011
?
10000
11101
01101
01111
10011
?
10010
10100
01101
11110
11001
?
11100
11110
11001
11111
11101
?
11010
10111
11101
10111
11101
?
11110
11110
11101
11111
11100
?
10110
1111...

result:

points 1.0 points  1.0 correct, 20 queries

Subtask #3:

score: 77.6522
Acceptable Answer

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Test #77:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 18 queries

Test #78:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 16 queries

Test #79:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 21 queries

Test #80:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 19 queries

Test #81:

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

input:

3
9
9
9
9
9
8
8

output:

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

result:

points 1.0 points  1.0 correct, 7 queries

Test #82:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 16 queries

Test #83:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 21 queries

Test #84:

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

input:

3
9
9
9
8
9
9
9
6
8
8
9
9
9
8
9
8

output:

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

result:

points 1.0 points  1.0 correct, 16 queries

Test #85:

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

input:

3
9
8
9
8

output:

?
111
111
111
?
111
011
111
?
111
111
101
?
101
111
011
!
100
100
100

result:

points 1.0 points  1.0 correct, 4 queries

Test #86:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 16 queries

Test #87:

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

input:

3
9
9
9
9
8
9
9
9

output:

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

result:

points 1.0 points  1.0 correct, 8 queries

Test #88:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 30 queries

Test #89:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 18 queries

Test #90:

score: 78
Accepted
time: 15ms
memory: 3576kb

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 21 queries

Test #91:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 16 queries

Test #92:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 46 queries

Test #93:

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

input:

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

output:

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

result:

points 1.0 points  1.0 correct, 16 queries

Test #94:

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

input:

10
40
100

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000010000
0000010101
0100000000
0000000001
0100000000
0000000010
0000000010
1000000000
0000001001
0111000000
!
0000010000
0000010000
0100000000
0000000001
0100000000
0000000010
00000000...

result:

points 1.0 points  1.0 correct, 2 queries

Test #95:

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

input:

10
70
90
70

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000000
0000010101
1000000010
1000000000
0100000000
0001000000
0000000010
0000000010
0000001001
0111000000
?
0001000000
0000000101
0000000010
1000000000
0000100000
1001000000
00000000...

result:

points 1.0 points  1.0 correct, 3 queries

Test #96:

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

input:

10
40
92
84
100
100
100
91

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000010000
0000010101
0100000000
0000000001
0100000000
0000000010
0000000010
1000000000
0000001001
0111000000
?
0000010000
0000010101
0100000000
0001000000
0000000000
0100000010
01001000...

result:

points 1.0 points  1.0 correct, 7 queries

Test #97:

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

input:

10
46
72
84
93
95
100
100
88
92
94

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010111
0000000000
0000000000
0001100000
1000000000
0000000000
0000000000
0000001001
0111000000
?
0000000010
0000010000
0000000000
0000000010
0101100000
1000000000
00000000...

result:

points 1.0 points  1.0 correct, 10 queries

Test #98:

score: 78
Accepted
time: 109ms
memory: 4124kb

input:

10
52
64
60
52
92
88
90
88
95
100
97
100
100
97
96

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010101
0000000000
0000000000
0100100000
0000000000
0000100000
0000000000
0000001001
0101000000
?
0000000000
0000010001
0000000000
0000001000
0000010001
0000000000
00001000...

result:

points 1.0 points  1.0 correct, 15 queries

Test #99:

score: 78
Accepted
time: 114ms
memory: 3980kb

input:

10
52
76
70
84
76
88
90
90
97
100
96
100
97
96

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010101
0000000000
0000000000
0100100000
0000000000
0000100000
0000000000
0000001001
0101000000
?
0000000010
0000000101
0000000000
0000000000
0101101000
0000000001
10000000...

result:

points 1.0 points  1.0 correct, 14 queries

Test #100:

score: 78
Accepted
time: 55ms
memory: 3960kb

input:

8
46
49
54
59
64
64
58
56
64
58

output:

?
00110000
00100000
00000000
00000000
00100000
01100000
10000000
00001000
?
00110001
10100000
00100001
00000000
00100000
01110000
00000000
00001000
?
00110000
10100000
00100001
00000000
00110000
01110000
10000000
00001000
?
00110001
00100000
00000000
00100000
00100000
00110100
10000000
00101000
?
00...

result:

points 1.0 points  1.0 correct, 10 queries

Test #101:

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

input:

10
64
82
80
94
90
94
96
100
100
100
98
98
100
99

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000000
0000010101
0000000000
0000000000
0101100000
1000000000
0000100000
0000000000
0000001000
0111000000
?
0000000010
0000010101
0000000000
0000000000
0111000000
1000000000
00000000...

result:

points 1.0 points  1.0 correct, 14 queries

Test #102:

score: 78
Accepted
time: 133ms
memory: 3908kb

input:

9
53
63
53
57
61
69
72
79
81
79
81
80
81
80
81
81
80
77
80

output:

?
000100001
000000001
001000000
000010000
000011000
000000000
000000000
000000000
000001000
?
000000001
000000001
001001000
000010000
000011000
000000010
001100000
000000000
000001000
?
000110000
000000000
001001000
000000000
000010000
100000010
001000000
000000000
000001010
?
000110011
000000000
00...

result:

points 1.0 points  1.0 correct, 19 queries

Test #103:

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

input:

10
64
91
86
76
82
100
94
94
95

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000000
0000010101
0000000000
0000000000
0101100000
1000000000
0000100000
0000000000
0000001000
0111000000
?
0000000010
0001110001
0001000000
0000000000
0100100000
1000000000
00000000...

result:

points 1.0 points  1.0 correct, 9 queries

Test #104:

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

input:

10
70
93
76
86
95
96
96
100
80

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000000
0000010101
1000000010
1000000000
0100000000
0001000000
0000000010
0000000010
0000001001
0111000000
?
0001000000
0000000101
0000000010
1000000000
0000100000
1001000000
00000000...

result:

points 1.0 points  1.0 correct, 9 queries

Test #105:

score: 78
Accepted
time: 35ms
memory: 3828kb

input:

10
64
82
84
91
92
100

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000000
0000010101
0000000000
0000000000
0101100000
1000000000
0000100000
0000000000
0000001000
0111000000
?
0000000010
0000010101
0000000000
0000000000
0111000000
1000000000
00000000...

result:

points 1.0 points  1.0 correct, 6 queries

Test #106:

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

input:

10
70
90
73

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000000
0000010101
1000000010
1000000000
0100000000
0001000000
0000000010
0000000010
0000001001
0111000000
?
0001000000
0000000101
0000000010
1000000000
0000100000
1001000000
00000000...

result:

points 1.0 points  1.0 correct, 3 queries

Test #107:

score: 78
Accepted
time: 23ms
memory: 4004kb

input:

10
40
91
80
97
98
97

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000010000
0000010101
0100000000
0000000001
0100000000
0000000010
0000000010
1000000000
0000001001
0111000000
?
0000000000
0000010001
1100000000
0011000001
0100100000
0100000010
00001000...

result:

points 1.0 points  1.0 correct, 6 queries

Test #108:

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

input:

10
40
91
79
95
88
93
95
88
95
96
98

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000010000
0000010101
0100000000
0000000001
0100000000
0000000010
0000000010
1000000000
0000001001
0111000000
?
0000000000
0000010001
1100000000
0011000001
0100100000
0100000010
00001000...

result:

points 1.0 points  1.0 correct, 11 queries

Test #109:

score: 78
Accepted
time: 85ms
memory: 3908kb

input:

10
40
91
76
94
94
93
95
92
96
94
94

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000010000
0000010101
0100000000
0000000001
0100000000
0000000010
0000000010
1000000000
0000001001
0111000000
?
0000000000
0000010001
1100000000
0011000001
0100100000
0100000010
00001000...

result:

points 1.0 points  1.0 correct, 11 queries

Test #110:

score: 78
Accepted
time: 33ms
memory: 3828kb

input:

10
70
84
82
94
80
90
97

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000000
0000010101
1000000010
1000000000
0100000000
0001000000
0000000010
0000000010
0000001001
0111000000
?
0001000000
1000010001
1000000010
1001000000
1100100000
0001000000
00000000...

result:

points 1.0 points  1.0 correct, 7 queries

Test #111:

score: 78
Accepted
time: 34ms
memory: 3776kb

input:

10
68
91
91
90
88
97

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010111
0000000000
0000000000
0001100000
1000000000
0000000000
0000000000
0000001001
0111000000
?
0000000010
0000011010
0000001100
0000000100
0100100000
1000001000
00001000...

result:

points 1.0 points  1.0 correct, 6 queries

Test #112:

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

input:

10
64
82
84
84
92
92
95
94
98
99
94

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000000
0000010101
0000000000
0000000000
0101100000
1000000000
0000100000
0000000000
0000001000
0111000000
?
0000000010
0000010101
0000000000
0000000000
0111000000
1000000000
00000000...

result:

points 1.0 points  1.0 correct, 11 queries

Test #113:

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

input:

10
51
65
60
55
79
88
94
88
96
98
96
98

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010101
0000000000
0000000000
0100100000
0000000000
0000100000
0000000000
0000001001
0101000000
?
0000000000
0000010001
0000000000
0000001000
0000010001
0000000000
00001000...

result:

points 1.0 points  1.0 correct, 12 queries

Test #114:

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

input:

10
52
60
70
75
70
72
91
96
88
92
91
96
98
98

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010101
0000000000
0000000000
0100100000
0000000000
0000100000
0000000000
0000001001
0101000000
?
0000000000
0000000001
0000000000
0000001010
0101110001
0000000000
00000000...

result:

points 1.0 points  1.0 correct, 14 queries

Test #115:

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

input:

10
44
79
80
73
95
97
86
90
98
97

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010111
0000000000
0000000100
0101100000
1000000000
0000100000
0000000000
0000000001
0110000000
?
0000000010
0000010110
0000001000
0010000100
0000000000
1000000001
00001000...

result:

points 1.0 points  1.0 correct, 10 queries

Test #116:

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

input:

10
65
79
88
94
90
91
97

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000000
0000010101
0000000000
0000000000
0101100000
1000000000
0000100000
0000000000
0000001000
0111000000
?
0000000010
0000010101
0000000000
0000000000
0111000000
1000000000
00000000...

result:

points 1.0 points  1.0 correct, 7 queries

Test #117:

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

input:

10
58
72
44
68
76
85
96
92
88
97
98
100
100
94
97

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010101
0000000000
0000000000
0100100000
0000000000
0000100000
0000000000
0000001001
0011000000
?
0000000000
0000010101
0000000000
0000000000
0000100100
0000000000
00001000...

result:

points 1.0 points  1.0 correct, 15 queries

Test #118:

score: 78
Accepted
time: 89ms
memory: 4080kb

input:

10
58
70
65
75
70
75
80
75
88
84
98
100
100
96
100
100
100
100

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010101
0000000000
0000000000
0100100000
0000000000
0000100000
0000000000
0000001001
0011000000
?
0000000010
0000000101
0000000000
0000000000
0000100000
0000010000
00000000...

result:

points 1.0 points  1.0 correct, 18 queries

Test #119:

score: 78
Accepted
time: 76ms
memory: 3896kb

input:

10
70
91
90
100
96
84
90
94
100
92
98

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000000
0000010101
1000000010
1000000000
0100000000
0001000000
0000000010
0000000010
0000001001
0111000000
?
0000000000
1000010101
1000000010
0001000000
0000000000
1000000000
00000000...

result:

points 1.0 points  1.0 correct, 11 queries

Test #120:

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

input:

10
46
64
64
92
100
100
100
100
100
100
92
93

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010111
0000000000
0000000000
0001100000
1000000000
0000000000
0000000000
0000001001
0111000000
?
0000000000
0000010111
0000000000
0001000000
0101000000
1000000000
00101000...

result:

points 1.0 points  1.0 correct, 12 queries

Test #121:

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

input:

10
64
91
82
73

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000000
0000010101
0000000000
0000000000
0101100000
1000000000
0000100000
0000000000
0000001000
0111000000
?
0000000010
0001110001
0001000000
0000000000
0100100000
1000000000
00000000...

result:

points 1.0 points  1.0 correct, 4 queries

Test #122:

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

input:

9
46
60
57
57
67
81
74
73

output:

?
000100001
000000001
001000000
000010000
000011000
000000000
000000000
000000000
000001000
?
000000001
000000001
001001000
000010000
000011000
000000010
001100000
000000000
000001000
?
000010011
000001000
001001000
000010000
000001000
100000000
001000000
000000000
000000010
?
000110001
000001001
00...

result:

points 1.0 points  1.0 correct, 8 queries

Test #123:

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

input:

9
53
74
73
81
67
81
67
81
63
63
65

output:

?
000100001
000000001
001000000
000010000
000011000
000000000
000000000
000000000
000001000
?
000000001
000000001
001001000
000010000
000011000
000000010
001100000
000000000
000001000
?
000000011
000000001
000001000
000010000
010000010
000000010
000110101
000000000
000001000
?
000100011
000000001
00...

result:

points 1.0 points  1.0 correct, 11 queries

Test #124:

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

input:

8
40
43
58
64
54
59
64
59
64
58

output:

?
00110000
00100000
00000000
00000000
00100000
01100000
10000000
00001000
?
00100001
10100000
00000001
00000000
00100000
01100100
10000000
00001000
?
00110011
10000100
00000001
00000000
00000000
01110100
00010010
00010010
?
00010111
10100000
00000101
00010100
00100000
01110000
10010010
00011110
?
00...

result:

points 1.0 points  1.0 correct, 10 queries

Test #125:

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

input:

8
48
52
48
64
64
54
59

output:

?
00110000
00100000
00000000
00000000
00100000
01100000
10000000
00001000
?
00110001
00100000
00100001
00000000
00100001
01110100
10000000
00000000
?
00110001
10100000
00000000
00000000
00100001
01110000
10000000
00001010
?
00110001
10101100
00000001
00110000
00100001
00100110
10000000
00001010
?
00...

result:

points 1.0 points  1.0 correct, 7 queries

Test #126:

score: 78
Accepted
time: 87ms
memory: 4160kb

input:

7
39
45
39
39
41
49
45
49
49
49
45
49
49
49
47
46
49
46

output:

?
0100000
0100100
1000000
0000000
0011000
1000010
0000000
?
0100000
0100100
1000010
0001000
0011000
0000010
1010000
?
0000000
0000000
0000011
1001001
0011000
1000010
1000000
?
0000000
0100000
1000011
0001010
0011000
1000000
1010000
?
0000000
0000000
1011011
1011001
0011000
1010011
1010000
?
0100000
...

result:

points 1.0 points  1.0 correct, 18 queries

Test #127:

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

input:

7
39
41
39
39
46
49
49
49
43

output:

?
0100000
0100100
1000000
0000000
0011000
1000010
0000000
?
0100000
0100100
1000010
0001000
0011000
0000010
1010000
?
0000000
0000000
0000011
1001001
0011000
1000010
1000000
?
0000000
0100000
1000011
0001010
0011000
1000000
1010000
?
0101000
0100100
0010010
1011111
0000000
1000011
1010000
?
0101000
...

result:

points 1.0 points  1.0 correct, 9 queries

Test #128:

score: 78
Accepted
time: 103ms
memory: 3992kb

input:

10
58
65
70
58
76
85
80
92
96
96
95
94
97
99
97

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010101
0000000000
0000000000
0100100000
0000000000
0000100000
0000000000
0000001001
0011000000
?
0000000010
0000010100
0000000000
0000000000
0000100000
0000010100
00000000...

result:

points 1.0 points  1.0 correct, 15 queries

Test #129:

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

input:

10
44
84
92
100
92
100

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010111
0000000000
0000000100
0101100000
1000000000
0000100000
0000000000
0000000001
0110000000
?
0000000000
0000010011
0100000000
0000010010
0001000000
1000000000
00001000...

result:

points 1.0 points  1.0 correct, 6 queries

Test #130:

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

input:

10
52
60
73
86
90
90
96
90

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010101
0000000000
0000000000
0100100000
0000000000
0000100000
0000000000
0000001001
0101000000
?
0000000000
0000000001
0000000000
0000001010
0101110001
0000000000
00000000...

result:

points 1.0 points  1.0 correct, 8 queries

Test #131:

score: 78
Accepted
time: 91ms
memory: 3832kb

input:

10
64
75
82
88
95
97
98
90
99
99
100
100
99

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000000
0000010101
0000000000
0000000000
0101100000
1000000000
0000100000
0000000000
0000001000
0111000000
?
0000000010
0000010101
0000000000
0000000000
0111000000
1000000000
00000000...

result:

points 1.0 points  1.0 correct, 13 queries

Test #132:

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

input:

10
58
70
60
75
91
88
84
88
90
98
100
99
97

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010101
0000000000
0000000000
0100100000
0000000000
0000100000
0000000000
0000001001
0011000000
?
0000000010
0000000101
0000000000
0000000000
0000100000
0000010000
00000000...

result:

points 1.0 points  1.0 correct, 13 queries

Test #133:

score: 78
Accepted
time: 204ms
memory: 4016kb

input:

10
58
70
58
76
70
88
88
88
94
91
88
96
98
94
99
99
100
100
100
98
100
100
99

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010101
0000000000
0000000000
0100100000
0000000000
0000100000
0000000000
0000001001
0011000000
?
0000000010
0000000101
0000000000
0000000000
0000100000
0000010000
00000000...

result:

points 1.0 points  1.0 correct, 23 queries

Test #134:

score: 78
Accepted
time: 97ms
memory: 3980kb

input:

10
52
65
65
65
80
84
88
76
90
97
88
97
92
96
99

output:

?
0000000000
0000010100
0000000000
0000000000
0100100000
0000000000
0000000000
0000000000
0000001001
0110000000
?
0000000010
0000010101
0000000000
0000000000
0100100000
0000000000
0000100000
0000000000
0000001001
0101000000
?
0000000010
0000000100
0000000000
0000000000
0100010000
0000000000
00001000...

result:

points 1.0 points  1.0 correct, 15 queries

Test #135:

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

input:

100
700
1500
1800
2700
3400
3500
3700
4600
4700
4800
5500
6200
7000
7000
7300
7500
7300

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 17 queries

Test #136:

score: 78
Accepted
time: 209ms
memory: 4148kb

input:

100
800
1500
1800
2800
3600
3900
3800
4900
5100
5000
5200
5800
6600
7300
6900
7400
8800

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 17 queries

Test #137:

score: 78
Accepted
time: 668ms
memory: 4456kb

input:

100
700
1474
1270
1768
2356
2224
2822
2800
3404
3404
3598
4048
3792
4665
5104
5198
5345
5630
6280
5770
6160
6269
6964
7270
7056
7624
7150
7725
8576
8487
8280
8710
7825
8347
8680

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 35 queries

Test #138:

score: 78
Accepted
time: 871ms
memory: 4328kb

input:

100
694
1288
1270
1852
1755
2046
2240
2668
3160
3232
3304
3721
3769
3994
4176
4358
3928
5215
4900
5240
5665
5050
5665
6085
6392
6136
6433
6436
6802
7003
7060
7767
7840
7872
8668
7825
8752
8890
8252
8613
8128
7928
8632
9260

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 44 queries

Test #139:

score: 78
Accepted
time: 1606ms
memory: 4276kb

input:

100
785
1070
688
880
1258
1165
1070
1070
1545
1537
1996
1728
2260
2374
2560
2800
3147
3636
3562
3808
3868
3686
4087
4160
4260
4549
4506
5136
5086
4998
5440
5725
6226
6250
6308
6328
6472
7008
6832
6876
7171
6872
6640
7336
7119
7620
7655
7690
7696
7655
7854
8292
8048
8512
8078
8698
8362
8746
8880
8781...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 70 queries

Test #140:

score: 78
Accepted
time: 1398ms
memory: 4528kb

input:

100
784
1070
784
880
1355
1258
1628
1630
1810
1628
1904
1810
2174
2257
2608
2890
2872
2953
3292
3775
3609
3795
4320
4640
4384
4528
4756
4968
4968
5060
5412
5464
5998
6274
5860
5929
5852
6370
6010
6832
6136
6864
6608
6945
7180
7900
7682
7738
8002
7960
7872
8208
8318
8656
8596
8827
8290
8590
8966
8872...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 65 queries

Test #141:

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

input:

100
785
1072
785
880
1351
1352
1537
1537
1810
1720
1628
1723
2260
2440
2080
2346
2872
3048
2690
3200
2862
3520
3682
4168
4154
3838
4533
4672
4533
5032
5176
5036
4746
4744
5042
5444
5800
5998
6466
6160
6462
6922
6462
6808
6700
6640
7140
7191
7470
7697
7452
7227
7960
7942
8022
7756
8280
8113
8323
8668...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 79 queries

Test #142:

score: 78
Accepted
time: 2117ms
memory: 4388kb

input:

100
785
1072
784
882
1444
1070
1446
1173
1916
1901
2260
2174
2088
2776
2945
3112
3280
3280
3285
3609
3840
4148
4072
4320
4825
4744
4900
5036
5248
5308
5308
5584
5775
5520
5784
6340
6094
6460
6694
6520
6700
6767
6279
6700
6873
6991
7030
6340
7144
7450
7470
7603
7492
7700
7840
7764
7900
7984
8080
8068...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 84 queries

Test #143:

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

input:

100
785
1072
785
880
1360
1450
1830
1916
1925
2095
2174
2180
2174
2960
2530
2890
3214
3360
3358
3448
3775
3710
4330
4533
4400
4342
4865
4995
5102
5660
5176
5660
5200
6056
5620
5779
6224
6652
6555
6248
6634
7060
6991
7100
6940
7700
7360
7564
7840
8040
7660
8164
8272
8280
8272
8130
8245
8592
8782
8893...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 72 queries

Test #144:

score: 78
Accepted
time: 1389ms
memory: 4136kb

input:

100
785
1076
785
1076
1360
1270
1728
1728
2174
2180
1830
2440
2629
2447
2862
2518
3464
3370
3768
3917
4075
3996
4148
4675
4306
4680
4600
4450
4533
5176
5200
5852
5752
5425
5920
5782
6481
6274
6436
6620
6864
7360
6985
7291
7210
7696
8152
7706
7858
8202
7854
8326
8544
8208
8304
8674
8240
8575
9356
852...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 65 queries

Test #145:

score: 78
Accepted
time: 1388ms
memory: 4624kb

input:

100
800
1464
1278
1658
1640
2447
2574
2629
2640
3236
3790
3948
4192
4544
4815
5098
5128
5012
5070
6044
6355
6514
6600
6160
6682
6724
6732
6775
7153
7192
7102
8012
7052
7892
7888
7200
8110
7970
8362
7830
8884
8614
8016
8761
8784
8550
9174
9014
9188
8700
8920
8292
8782
8963
8866
8929
8666
9048
8600

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 59 queries

Test #146:

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

input:

100
793
1288
1474
1670
1768
2160
2356
2919
2896
3583
3445
3760
3730
3796
4388
3862
4699
4600
4720
4995
5450
5500
5824
6173
6040
5550
5998
5995
6346
6388
7110
7480
7294
8218
8300
7900
8196
8623
7894
8800
8425
8845
8183

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 43 queries

Test #147:

score: 78
Accepted
time: 686ms
memory: 4344kb

input:

100
793
1288
1387
1783
2377
2650
2919
2846
3501
3856
4180
4205
4454
4624
4870
4548
4699
5257
5860
5582
6136
5815
7117
7270
7700
7300
7096
7998
8220
7825
8830
8260
8045
8194
8260
8347

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 36 queries

Test #148:

score: 78
Accepted
time: 720ms
memory: 4148kb

input:

100
700
1500
1800
2700
3400
3500
3700
4600
4700
4753
5300
6535
7426
7129
7723
7452
7478
7984
8308
7792
7625
8047
8089
8257
8262
8350
8520
8526
8677
8689
8656
9202
9160
9280
9411
9664
9362
9616

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 38 queries

Test #149:

score: 78
Accepted
time: 708ms
memory: 4544kb

input:

100
700
1500
1800
2700
3400
3500
3700
4600
4654
4852
5248
5941
6040
6040
7354
7327
7435
7866
7910
7769
8344
7976
7976
7999
8606
7975
8551
8526
8898
8803
9069
8950
9100
9318
9433
9352
9328
9580

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 38 queries

Test #150:

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

input:

100
700
1500
1800
2700
3400
3500
3700
4600
4700
4800
5500
6139
6600
6962
7648
7648
7963
7575
8236
7625
7675
8005
8347
8542
8575
8848
8551
8812
8938
8992
8896
9312
9090
9406
9525
9411

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 36 queries

Test #151:

score: 78
Accepted
time: 535ms
memory: 4364kb

input:

100
800
1500
1800
2800
3600
3900
3800
4900
5100
5000
5200
5800
6600
7300
6900
7327
8812
7822
7489
7280
7813
8848
8284
8450
8887
8971
9388
9040
9265
9280
9560
9420
9456

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 33 queries

Test #152:

score: 78
Accepted
time: 626ms
memory: 4188kb

input:

100
800
1500
1800
2773
3169
3763
4159
4258
4610
4762
5002
5538
5441
5926
6023
6864
7746
7963
8060
7625
7984
7888
8470
8183
8594
8512
8997
8955
8536
8830
9300
9316
9487
9260
9506
9428

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 36 queries

Test #153:

score: 78
Accepted
time: 653ms
memory: 4392kb

input:

100
800
1500
1800
2800
3600
3900
3800
4900
5100
5000
5200
5800
6600
7300
6832
6931
7648
7550
6411
7942
8530
7148
7648
7705
7998
8575
8299
9104
8845
9190
9097
8934
9406
9384
9328
9406

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 36 queries

Test #154:

score: 78
Accepted
time: 1020ms
memory: 4164kb

input:

100
700
1474
1288
1852
1755
2032
2400
2685
2590
2704
3044
3044
3326
3695
4020
4358
4722
4722
4664
5086
5770
5996
5536
7419
7800
7360
7129
7508
7790
8196
8130
8385
8114
7925
8025
8488
8284
7630
7867
8196
8175
8686
8614
9116
8900
9034
9126
9230
9500
9333
9640

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 51 queries

Test #155:

score: 78
Accepted
time: 1199ms
memory: 4168kb

input:

100
793
1278
1278
1658
1376
1852
2160
1936
2800
2628
3255
3280
3598
4395
4548
4995
4848
4266
5535
5216
5908
6360
6542
7210
6568
7361
7750
7825
7825
7651
8320
8240
8008
8130
8521
8680
8380
8045
8299
8385
8218
8708
8240
8845
8632
8344
8660
8570
9010
9417
9145
9580
9405
9448
9450
9246

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 56 queries

Test #156:

score: 78
Accepted
time: 522ms
memory: 4340kb

input:

100
700
1500
1800
2700
3400
3500
3664
4456
4753
4800
5347
5644
6276
6238
6570
7228
7024
7452
7575
8060
8290
7910
7816
8740
8240
8640
9200

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 27 queries

Test #157:

score: 77.6522
Acceptable Answer
time: 2156ms
memory: 4492kb

input:

100
784
1070
785
975
975
1258
1070
1173
1360
1996
2088
2180
2538
2524
2350
2613
3136
2800
3196
3760
3840
3838
4225
4260
4148
4233
4675
4300
4598
4900
5104
5385
5136
5446
5511
5511
5520
5775
6094
6636
6346
6700
6590
6920
6991
7408
6580
7504
7844
7744
7140
7140
7850
7979
8089
7936
7509
7603
8114
8328
...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 0.99554069120 points  0.9955406912 correct, 87 queries

Test #158:

score: 78
Accepted
time: 1760ms
memory: 4464kb

input:

100
688
976
880
975
1352
1352
1164
1351
1900
1444
1816
2083
1990
1812
2518
2260
2953
2690
3028
3030
3455
3775
4024
4014
3844
3952
4492
5050
5226
4687
5255
5314
5929
5856
5644
6100
6343
6360
6800
7030
6991
7334
7396
7255
7120
7680
8020
7942
7948
8208
8180
8000
8596
8000
8368
8812
8778
9054
9428
9000
...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 73 queries

Test #159:

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

input:

100
788
1072
882
1072
1444
1719
1260
1990
2257
1720
2604
2260
2432
2690
2948
3034
3285
3443
3520
3775
3917
3916
4300
4959
4894
4959
4450
4528
5310
5842
5264
5590
5240
5716
5905
6218
5970
6295
6100
6706
6466
6528
7207
7246
7264
7403
7501
7350
7936
7884
7984
8400
8151
8404
8425
8656
8614
8822
8710
857...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 81 queries

Test #160:

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

input:

100
784
1070
788
1072
1258
1444
1630
1634
1812
2168
2079
2431
2344
2866
2948
2692
2779
3112
3600
3194
4006
3522
3838
4072
3916
4150
4225
4024
4764
5042
4975
5172
5527
5653
5784
6124
6040
6035
5730
6295
6645
6295
7216
6865
6580
7305
7246
6820
7050
7795
7504
7297
7654
7654
8488
8167
8515
8155
8442
836...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 78 queries

Test #161:

score: 78
Accepted
time: 1923ms
memory: 4352kb

input:

100
785
1070
690
880
1173
1260
1901
1996
1822
2356
2346
2696
2608
2784
3034
2860
3236
3850
3364
3775
3700
3925
4687
4588
4640
4908
5226
5303
5464
5125
5680
5839
5896
5800
5660
6555
6516
6750
7148
6832
7360
7264
7345
7194
7549
7663
7522
7536
7522
8056
7972
7774
8650
8295
8608
8308
8355
8724
8543
8724...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 77 queries

Test #162:

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

input:

100
700
1500
1800
2700
3400
3500
3700
4600
4700
4800
5500
6200
7000
7000
7300
7500
7300

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 17 queries

Test #163:

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

input:

100
800
1500
1800
2800
3600
3900
3800
4900
5100
5000
5149
5743
6040
6832
7327
7030
8119
7525

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 18 queries

Test #164:

score: 78
Accepted
time: 229ms
memory: 4076kb

input:

100
700
1500
1800
2700
3400
3500
3700
4600
4700
4800
5446
6000
5842
7327
7525
7525
7525
7921

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 18 queries

Test #165:

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

input:

100
800
1486
1600
2377
2278
2575
3268
3268
4022
3961
4414
4806
5198
5300
5842
6570
7030
7030
6535
7723
7624

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 21 queries

Test #166:

score: 78
Accepted
time: 242ms
memory: 4356kb

input:

100
700
1500
1882
2575
2476
3169
4000
3961
4852
5347
4852
6139
7200
7228
7256
7354
7942
8138

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 18 queries

Test #167:

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

input:

100
700
1500
1800
2700
3400
3500
3700
4600
4700
4800
5500
6200
7000
7000
7300
7500
7327
7624
7822

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 19 queries

Test #168:

score: 78
Accepted
time: 1811ms
memory: 4316kb

input:

100
785
1072
788
1070
1270
1634
1540
2104
2356
2002
2447
2692
2690
2604
3030
3206
3763
3686
4228
4072
4302
4450
4384
4525
4764
5032
4820
4900
5243
5072
5511
5520
5172
5791
6224
6370
5752
6352
6598
6652
6940
6828
7270
7606
7052
7948
7970
7965
7648
7865
8266
7780
7910
8357
8260
8656
8492
8284
8804
885...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 76 queries

Test #169:

score: 78
Accepted
time: 2067ms
memory: 4180kb

input:

100
784
1070
784
880
1352
1173
1537
1536
1719
2170
1810
2344
2346
2604
2945
2608
3048
3443
3844
3439
3616
3768
4462
4249
4890
4533
4600
5170
4746
4744
5310
5515
5512
5520
5840
5840
6031
6295
6460
6047
6984
6975
6544
7036
7192
7348
7360
7844
7603
8000
7506
8335
8284
7942
8236
8344
8594
8390
9088
8452...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 84 queries

Test #170:

score: 78
Accepted
time: 1869ms
memory: 4248kb

input:

100
788
1072
882
1076
1450
1444
1816
1900
2168
2083
2518
2524
2518
2518
2944
3028
3276
3206
3360
4148
3760
3994
4528
4014
5101
4817
4452
5032
5176
5446
5030
5712
5527
5776
5716
6224
5446
6519
6340
6519
6528
6342
6864
6984
6828
6820
7690
7705
7354
7250
7608
7746
7838
7525
8266
8250
8483
8368
8708
863...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 81 queries

Test #171:

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

input:

100
688
979
979
979
1634
1630
1728
1996
2257
2538
2696
2862
2605
3115
3200
3520
3277
3522
3763
3759
4150
3994
4233
4384
4302
4224
4598
5036
5104
5314
5392
5953
5527
5840
6466
6124
6165
5974
6466
6466
6814
6472
7088
6755
6828
7509
7750
7250
7390
7600
8032
7850
8000
8160
8436
8323
8390
8975
8680
8635
...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 82 queries

Test #172:

score: 78
Accepted
time: 2157ms
memory: 4476kb

input:

100
688
976
882
1070
1168
1165
1258
1720
1634
2080
1810
2080
2344
2346
2524
2779
2431
3370
3443
3840
4080
3692
4560
4302
4744
4817
4816
5536
5314
5852
5310
6040
5776
6096
5870
6035
5846
6523
6400
6523
7200
6584
7216
7297
7036
7408
7696
7650
7893
7744
8068
7600
7840
8020
8026
8372
8488
8152
8328
8635...

output:

?
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct, 82 queries

Test #173:

score: 78
Accepted
time: 85ms
memory: 3948kb

input:

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

output:

?
10010
01011
01000
01010
00000
?
10000
11011
01100
01010
01001
?
00010
11011
01100
00000
10001
?
10010
11011
11001
01011
10011
?
10000
11101
01101
01111
10011
?
10010
10100
01101
11110
11001
?
11100
11110
11001
11111
11101
?
11010
10111
11101
10111
11101
?
11110
11110
11101
11111
11100
?
10110
1111...

result:

points 1.0 points  1.0 correct, 20 queries