QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#800393 | #9783. Duloc Network | ucup-team5928# | WA | 11ms | 3856kb | C++20 | 1.4kb | 2024-12-06 09:56:04 | 2024-12-06 09:56:04 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 1ms
memory: 3620kb
input:
4 1 3 2 2 2 1 0
output:
? 1000 ? 0100 ? 0010 ? 0001 ? 1001 ? 1101 ? 1111 ! 1
result:
ok Correct answer with 7 queries.
Test #2:
score: 0
Accepted
time: 1ms
memory: 3620kb
input:
2 0 0 0
output:
? 10 ? 01 ? 11 ! 0
result:
ok Correct answer with 3 queries.
Test #3:
score: 0
Accepted
time: 1ms
memory: 3580kb
input:
4 1 3 2 2 2 1 0
output:
? 1000 ? 0100 ? 0010 ? 0001 ? 1001 ? 1011 ? 1111 ! 1
result:
ok Correct answer with 7 queries.
Test #4:
score: 0
Accepted
time: 1ms
memory: 3820kb
input:
2 0 0 0
output:
? 10 ? 01 ? 11 ! 0
result:
ok Correct answer with 3 queries.
Test #5:
score: 0
Accepted
time: 1ms
memory: 3660kb
input:
50 3 1 1 1 1 4 3 1 1 2 3 3 2 1 2 4 3 1 1 1 2 4 1 3 1 4 3 2 2 2 4 2 2 1 1 2 1 2 4 1 1 3 3 3 6 2 1 3 2 3 4 5 4 6 7 8 7 8 8 9 10 12 12 13 13 12 14 13 14 14 16 14 15 16 17 17 15 16 14 15 15 15 16 16 17 16 15 14 13 14 14 14 15 13 14 12 11 10 9 12 10 10 9 8 9 10 7 8 8 9 8 9 10 8 7 6 5 4 5 5 6 4 5 4 4 5 3 ...
output:
? 10000000000000000000000000000000000000000000000000 ? 01000000000000000000000000000000000000000000000000 ? 00100000000000000000000000000000000000000000000000 ? 00010000000000000000000000000000000000000000000000 ? 00001000000000000000000000000000000000000000000000 ? 000001000000000000000000000000000...
result:
ok Correct answer with 141 queries.
Test #6:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
50 10 13 8 6 13 8 10 8 8 8 9 13 15 11 9 10 14 6 16 10 15 10 7 8 10 10 10 13 10 15 9 10 11 5 16 10 14 11 10 9 9 15 11 10 7 11 12 10 9 10 18 24 26 29 32 34 36 37 38 38 37 36 35 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
output:
? 10000000000000000000000000000000000000000000000000 ? 01000000000000000000000000000000000000000000000000 ? 00100000000000000000000000000000000000000000000000 ? 00010000000000000000000000000000000000000000000000 ? 00001000000000000000000000000000000000000000000000 ? 000001000000000000000000000000000...
result:
ok Correct answer with 99 queries.
Test #7:
score: 0
Accepted
time: 2ms
memory: 3856kb
input:
50 1 3 1 4 3 1 1 1 1 3 1 1 1 1 3 5 1 1 1 1 3 2 5 1 2 1 4 1 2 3 4 3 3 2 3 1 1 1 1 3 2 2 1 3 4 2 4 2 3 2 4 4 3 2 2 4 5 3 4 2 2 2 2 2 4 2 3 2 4 3 4 1 2 4 4 5 5 2 2 3 4 2 3 4 2 2 2 4 2 2 4 5 5 5 7 4 5 7 6 5 7 10 8 8 8 7 7 8 9 7 9 11 10 12 12 11 12 12 12 13 12 13 11 12 12 12 14 12 13 14 11 10 10 12 11 10...
output:
? 10000000000000000000000000000000000000000000000000 ? 01000000000000000000000000000000000000000000000000 ? 00100000000000000000000000000000000000000000000000 ? 00010000000000000000000000000000000000000000000000 ? 00001000000000000000000000000000000000000000000000 ? 000001000000000000000000000000000...
result:
ok Correct answer with 191 queries.
Test #8:
score: 0
Accepted
time: 1ms
memory: 3624kb
input:
50 2 14 8 8 7 12 12 8 8 9 9 10 8 8 4 8 9 9 9 11 13 11 8 7 9 12 7 5 6 4 7 8 10 5 5 10 8 4 10 9 11 7 10 8 6 8 10 7 5 9 8 13 20 21 25 30 32 34 35 36 35 35 34 34 33 32 31 30 29 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
output:
? 10000000000000000000000000000000000000000000000000 ? 01000000000000000000000000000000000000000000000000 ? 00100000000000000000000000000000000000000000000000 ? 00010000000000000000000000000000000000000000000000 ? 00001000000000000000000000000000000000000000000000 ? 000001000000000000000000000000000...
result:
ok Correct answer with 99 queries.
Test #9:
score: 0
Accepted
time: 1ms
memory: 3660kb
input:
50 3 1 1 1 2 1 1 1 1 5 1 2 1 1 1 1 3 1 1 2 1 1 1 2 2 1 1 1 1 3 1 2 1 1 2 3 1 2 3 2 1 3 1 2 3 1 2 2 1 1 4 2 5 3 3 4 5 4 3 3 3 3 3 3 3 4 4 5 1 2 3 2 3 2 2 4 2 3 2 2 4 2 3 2 3 2 2 1 4 2 2 3 4 3 2 3 2 2 3 3 2 3 2 2 2 3 2 2 2 2 2 2 3 4 3 2 6 2 2 3 2 2 2 4 4 2 2 2 3 4 2 2 2 0 3 1 1 1 3 1 2 1 1 1 1 1 3 1 1...
output:
? 10000000000000000000000000000000000000000000000000 ? 01000000000000000000000000000000000000000000000000 ? 00100000000000000000000000000000000000000000000000 ? 00010000000000000000000000000000000000000000000000 ? 00001000000000000000000000000000000000000000000000 ? 000001000000000000000000000000000...
result:
ok Correct answer with 179 queries.
Test #10:
score: 0
Accepted
time: 1ms
memory: 3624kb
input:
100 1 2 1 1 1 1 1 1 3 3 1 1 2 3 4 1 2 2 2 1 2 2 1 2 2 1 1 1 3 2 1 2 2 1 4 1 1 1 3 2 4 1 3 2 3 3 3 1 1 1 1 2 1 2 2 4 3 1 2 1 1 1 1 3 3 3 2 1 1 2 1 2 2 3 2 1 5 3 5 1 1 1 1 1 1 1 1 3 4 1 2 1 2 1 1 2 1 3 2 1 2 2 2 3 4 3 2 4 2 5 4 3 2 3 3 3 4 3 2 4 3 4 2 3 2 4 2 4 6 3 4 2 0 3 1 1 1 3 4 1 1 2 2 1 1 2 2 1 ...
output:
? 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 00100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 231 queries.
Test #11:
score: 0
Accepted
time: 0ms
memory: 3856kb
input:
100 11 13 9 11 8 7 15 12 8 8 7 6 9 12 11 9 10 9 11 16 10 8 9 8 10 6 8 9 13 10 9 7 5 11 14 6 11 16 7 7 8 8 11 8 13 15 11 12 11 11 11 9 10 12 10 6 11 10 5 13 9 9 6 6 6 12 7 12 10 10 9 11 7 11 5 6 9 6 5 9 5 16 11 13 13 10 5 5 8 8 12 11 5 8 8 10 8 10 8 10 21 28 35 39 42 45 49 56 57 59 63 66 68 70 69 68 ...
output:
? 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 00100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 199 queries.
Test #12:
score: 0
Accepted
time: 2ms
memory: 3556kb
input:
100 5 3 3 4 2 2 2 8 4 5 4 4 2 2 3 4 6 5 1 4 3 3 2 5 5 2 2 4 3 4 4 4 4 1 3 5 3 4 4 3 3 4 1 3 3 2 5 5 5 1 3 4 3 4 2 2 4 2 1 3 3 7 3 5 5 6 6 1 3 2 3 3 3 2 1 6 3 5 5 3 4 4 2 2 1 5 7 3 3 1 6 2 2 5 2 5 3 3 6 4 6 6 8 11 16 12 13 15 14 17 16 14 15 13 15 17 13 17 15 16 14 19 16 15 16 19 19 21 22 22 24 25 30 ...
output:
? 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 00100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 225 queries.
Test #13:
score: 0
Accepted
time: 3ms
memory: 3824kb
input:
100 1 1 1 3 1 1 3 1 4 1 2 3 4 1 1 2 4 1 3 2 1 3 2 4 1 3 1 1 2 1 1 1 3 1 1 4 1 1 1 1 4 1 2 1 3 3 1 1 3 4 1 2 2 3 3 1 1 1 1 4 1 1 1 1 1 2 2 2 2 1 2 2 2 2 2 1 1 2 5 1 2 2 1 1 2 2 2 4 1 1 1 5 4 1 3 1 1 1 2 1 3 2 2 4 2 5 2 3 3 5 3 4 3 4 3 5 5 8 6 6 6 8 6 6 6 8 8 7 4 7 5 5 6 5 5 5 6 6 6 7 4 6 5 5 5 4 5 7 ...
output:
? 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 00100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 444 queries.
Test #14:
score: 0
Accepted
time: 2ms
memory: 3660kb
input:
100 1 1 2 3 1 3 2 1 1 1 1 1 1 4 1 1 1 2 1 1 2 3 1 1 1 2 1 2 2 2 1 2 1 1 1 4 3 1 1 1 1 2 2 3 2 1 1 1 1 1 1 1 1 5 3 1 1 2 1 1 2 1 2 2 1 2 3 1 1 1 1 1 3 1 1 1 1 1 3 1 1 1 2 2 1 3 3 2 1 4 3 1 2 3 1 1 2 1 2 1 2 2 2 4 4 4 3 2 3 3 3 2 2 2 2 4 2 2 2 2 2 4 2 2 3 2 4 2 5 2 2 2 3 4 2 4 2 0 2 1 1 1 2 3 2 1 1 3 ...
output:
? 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 00100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 236 queries.
Test #15:
score: 0
Accepted
time: 0ms
memory: 3856kb
input:
150 4 2 3 2 2 3 2 4 3 3 4 2 2 4 6 1 3 2 3 5 3 4 4 3 6 3 1 2 4 5 5 3 2 3 3 2 3 1 2 4 2 4 4 1 2 3 2 3 1 1 4 4 3 2 2 1 3 3 1 2 1 6 1 3 2 4 1 4 2 1 4 3 4 1 3 4 2 4 2 5 3 4 2 6 6 2 2 2 3 2 4 4 4 2 2 1 2 1 3 2 3 7 2 1 3 2 5 4 1 2 3 2 3 2 3 5 3 4 5 2 3 1 3 1 2 3 1 3 1 2 3 3 2 3 7 1 2 1 4 2 2 2 3 4 4 3 6 3 ...
output:
? 100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 392 queries.
Test #16:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
150 4 2 2 1 2 1 1 8 1 2 1 3 4 2 1 4 3 2 1 4 3 1 1 4 5 3 2 3 3 2 4 1 3 4 4 5 4 2 6 4 2 2 2 2 3 6 2 3 3 4 3 3 2 3 2 4 2 1 1 1 1 2 2 4 2 3 3 3 7 1 4 3 3 3 4 2 2 1 2 2 2 1 2 4 2 1 2 2 4 2 2 4 2 6 2 4 4 2 1 2 4 2 5 1 4 3 3 1 2 4 4 2 2 3 4 1 4 2 2 3 3 3 2 3 2 6 3 3 2 3 1 1 3 5 2 3 2 2 2 3 1 3 3 4 3 3 2 3 ...
output:
? 100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 346 queries.
Test #17:
score: 0
Accepted
time: 3ms
memory: 3664kb
input:
150 3 1 4 1 4 2 3 1 1 3 1 1 4 5 7 1 2 1 2 3 4 2 3 5 1 5 1 2 2 5 3 6 2 2 1 3 5 1 3 2 2 3 1 2 1 3 2 2 1 3 2 2 2 5 1 2 2 5 5 2 3 4 1 3 1 2 1 2 2 1 1 5 3 1 3 1 2 3 1 2 2 2 1 4 1 2 2 5 3 2 1 4 2 2 5 1 3 3 1 4 3 2 4 1 5 3 4 2 2 3 1 2 4 3 3 2 1 2 3 1 1 2 1 3 4 3 1 2 4 4 3 1 7 4 1 1 1 1 4 3 2 3 2 2 1 3 3 1 ...
output:
? 100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 430 queries.
Test #18:
score: 0
Accepted
time: 3ms
memory: 3852kb
input:
150 4 4 5 4 2 2 5 3 1 4 2 2 3 1 1 2 2 3 3 3 8 2 1 3 2 2 3 1 1 3 2 3 2 3 3 7 1 2 1 5 4 1 4 4 3 2 3 2 5 7 3 2 1 2 1 3 5 3 3 6 3 3 5 3 5 5 1 4 2 5 2 3 2 2 1 3 2 2 2 2 1 3 2 1 2 5 4 3 6 3 2 3 1 2 3 3 1 4 2 2 2 3 4 3 1 5 2 1 5 2 4 6 3 3 2 3 3 2 3 1 5 1 3 2 3 8 2 5 1 4 5 4 1 1 3 1 1 1 5 3 1 3 4 2 3 2 2 4 ...
output:
? 100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 371 queries.
Test #19:
score: 0
Accepted
time: 0ms
memory: 3700kb
input:
150 2 1 1 3 2 2 2 1 1 1 1 1 2 2 2 1 1 3 3 2 2 1 2 1 2 5 4 2 1 2 2 2 2 1 2 1 2 1 2 3 3 2 3 2 1 1 2 2 3 1 2 1 1 3 3 2 4 2 1 1 2 5 2 2 2 2 1 1 3 2 1 3 1 5 3 1 3 1 4 1 2 1 3 1 1 1 3 1 1 2 1 5 3 1 1 1 2 1 2 1 2 1 1 2 2 3 1 2 1 2 2 2 2 2 3 1 5 2 1 2 3 2 1 2 4 1 1 2 3 3 3 1 2 1 3 2 2 1 1 2 2 3 1 1 1 1 4 1 ...
output:
? 100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 792 queries.
Test #20:
score: 0
Accepted
time: 4ms
memory: 3696kb
input:
200 1 3 1 3 3 1 1 1 1 1 2 1 3 2 2 1 1 3 1 2 1 1 1 1 2 2 1 1 1 2 1 4 1 1 1 1 2 1 1 2 3 1 1 1 4 1 1 1 1 3 1 1 1 1 2 1 1 1 1 2 1 2 1 2 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 2 1 1 2 1 2 2 2 4 1 2 1 1 5 2 1 1 2 1 1 1 1 1 1 1 1 2 1 1 1 1 1 3 1 2 1 1 3 1 1 1 2 1 5 1 1 1 1 4 1 4 1 1 3 1 3 1 3 1 1 4 1 2 1 3 1 2 2 2 ...
output:
? 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 1133 queries.
Test #21:
score: 0
Accepted
time: 9ms
memory: 3688kb
input:
200 3 2 2 2 2 2 1 1 1 4 2 1 2 2 2 2 1 1 2 1 1 3 1 1 2 2 2 3 1 2 1 1 2 1 2 2 2 3 3 3 2 2 1 1 4 1 1 2 2 2 2 1 2 2 1 3 2 3 2 1 1 1 1 1 2 2 1 1 2 1 1 4 2 1 1 1 1 2 3 2 1 2 3 4 1 1 2 5 5 2 1 3 2 3 1 3 1 2 1 2 1 1 3 2 2 3 3 4 1 1 2 1 3 2 1 1 1 1 1 4 2 1 1 1 1 2 2 2 3 2 2 2 1 1 1 2 3 3 2 2 2 3 1 4 1 3 2 1 ...
output:
? 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 1551 queries.
Test #22:
score: 0
Accepted
time: 3ms
memory: 3572kb
input:
200 1 2 1 1 1 3 1 1 2 1 2 3 2 3 1 3 2 1 3 1 2 3 1 1 1 2 2 1 4 2 1 1 5 2 3 1 3 3 2 2 2 2 1 2 3 3 2 2 1 1 4 2 2 2 5 2 2 3 3 3 2 1 2 2 2 1 1 2 2 1 1 1 3 2 3 2 1 3 3 3 2 2 1 2 2 5 1 3 3 1 1 1 1 1 3 1 1 1 1 4 3 1 3 1 3 2 1 3 3 1 1 4 1 2 2 2 1 2 3 2 4 3 1 1 3 3 1 1 2 1 1 2 2 1 1 1 3 1 2 1 1 1 2 3 2 1 1 1 ...
output:
? 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 583 queries.
Test #23:
score: 0
Accepted
time: 5ms
memory: 3788kb
input:
200 1 1 1 1 1 2 3 2 1 1 4 1 2 2 3 2 3 1 2 1 2 2 3 2 1 3 3 3 2 4 2 4 4 1 2 2 2 3 3 1 2 1 2 1 2 4 1 1 2 2 1 2 2 2 2 2 2 1 3 1 2 2 2 2 1 2 1 4 1 4 1 2 1 1 2 1 1 3 2 3 1 2 3 2 1 2 3 1 1 1 3 2 2 1 1 2 3 3 3 4 1 3 1 2 1 3 4 1 1 3 1 2 2 1 4 1 3 2 2 2 1 1 1 2 3 2 2 1 3 1 1 3 2 1 2 3 1 3 4 2 3 2 1 1 4 2 1 2 ...
output:
? 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 1232 queries.
Test #24:
score: 0
Accepted
time: 3ms
memory: 3584kb
input:
200 1 3 2 2 3 3 2 2 2 2 3 2 1 1 4 4 3 4 4 3 3 2 4 6 2 6 3 3 1 1 3 3 2 2 2 2 4 2 2 4 2 3 3 3 2 3 5 3 3 2 6 1 2 4 2 2 4 4 2 4 3 2 2 2 2 3 3 2 1 5 3 2 5 3 3 3 3 2 3 2 1 2 2 1 1 3 3 3 3 4 2 2 5 3 3 4 4 1 1 2 2 2 1 2 2 1 1 2 2 4 1 3 4 3 4 2 4 1 5 1 2 2 4 3 1 4 2 3 2 4 3 7 3 1 2 3 2 3 8 7 5 4 4 3 1 5 3 2 ...
output:
? 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 507 queries.
Test #25:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
200 6 6 5 5 3 3 1 3 2 4 6 4 5 5 3 7 5 3 7 10 6 4 8 1 2 3 4 3 4 5 5 6 2 5 5 10 10 1 1 7 2 3 6 4 2 8 5 3 3 3 1 7 5 9 4 3 2 4 3 3 3 3 7 7 4 2 4 1 9 4 4 3 6 6 1 4 2 2 7 5 6 3 7 3 5 4 4 6 2 3 4 5 9 6 2 8 4 6 3 1 7 4 3 4 3 8 3 8 12 3 4 3 3 7 2 7 7 6 8 5 3 6 6 3 6 4 5 7 6 3 1 3 1 3 1 2 4 2 5 2 4 4 5 3 5 2 ...
output:
? 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 419 queries.
Test #26:
score: 0
Accepted
time: 3ms
memory: 3560kb
input:
200 2 9 4 4 6 4 2 3 4 5 5 4 5 7 6 3 3 5 3 1 5 4 4 7 3 4 1 3 5 1 6 2 4 4 4 5 2 3 1 2 5 4 3 3 5 4 2 4 5 3 4 3 3 5 5 3 3 4 1 3 4 2 5 7 1 5 7 7 4 6 6 7 7 5 4 6 3 3 4 5 5 4 2 5 7 2 3 3 1 4 3 7 4 4 5 3 9 4 5 7 5 4 6 4 9 6 3 3 7 3 4 4 5 4 5 2 5 5 4 6 4 8 5 6 3 6 3 8 4 2 8 5 2 3 8 3 1 2 6 2 5 6 6 2 7 1 4 7 ...
output:
? 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 450 queries.
Test #27:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
200 4 3 3 1 5 5 4 1 1 4 5 2 2 2 1 5 3 5 4 2 6 7 2 6 1 1 8 2 8 4 3 4 1 5 2 1 4 3 3 4 2 3 5 5 2 1 3 4 2 8 2 4 4 3 6 4 7 1 1 6 2 6 4 5 6 2 1 6 2 2 9 3 3 1 1 1 2 5 3 6 1 2 3 4 7 3 2 5 4 5 3 3 4 6 5 4 6 4 1 2 4 6 8 3 2 4 3 3 5 6 5 4 3 4 4 3 5 2 2 4 5 5 4 2 1 6 3 5 7 6 3 2 2 6 3 1 4 4 4 3 2 1 3 1 4 6 4 3 ...
output:
? 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 469 queries.
Test #28:
score: 0
Accepted
time: 0ms
memory: 3856kb
input:
200 6 1 8 4 8 7 3 6 3 2 6 4 10 6 6 7 1 3 9 5 5 3 4 3 5 6 2 3 3 4 5 3 3 6 2 5 3 6 3 10 3 5 2 6 5 6 5 8 2 6 4 3 8 4 3 3 4 7 2 4 4 3 4 5 4 4 2 4 10 9 5 9 9 5 2 8 6 3 2 3 2 1 5 3 5 4 2 5 3 5 3 4 2 5 3 4 2 5 5 2 4 5 3 5 3 2 2 6 5 2 4 6 12 6 9 3 3 4 5 4 6 7 4 4 2 3 6 7 4 4 4 4 5 6 4 9 4 5 6 5 5 3 5 3 3 3 ...
output:
? 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 437 queries.
Test #29:
score: 0
Accepted
time: 3ms
memory: 3572kb
input:
200 7 4 6 3 4 2 3 3 1 9 4 6 2 4 7 3 4 4 3 8 5 6 3 7 10 5 7 4 5 2 3 6 3 2 3 3 3 1 6 5 3 3 4 4 3 5 4 3 5 4 5 8 4 4 5 4 6 3 3 6 4 2 3 4 3 3 2 2 4 4 2 6 3 8 5 4 2 7 2 5 6 5 2 9 2 4 4 5 1 5 9 6 6 8 5 2 5 7 3 4 6 4 2 3 4 6 6 5 7 4 7 7 2 5 6 3 4 3 4 4 6 2 2 5 2 4 5 6 3 5 3 8 4 2 2 4 6 2 9 6 3 8 4 5 6 2 3 7...
output:
? 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 420 queries.
Test #30:
score: 0
Accepted
time: 6ms
memory: 3828kb
input:
200 2 2 2 1 1 2 1 1 2 1 2 1 1 1 1 2 3 2 1 1 3 2 2 4 2 1 3 3 2 1 1 3 5 1 3 1 1 2 1 1 2 3 4 2 1 1 2 3 1 5 1 2 1 2 2 3 3 3 2 1 2 2 2 3 1 1 3 1 1 1 1 4 3 1 2 2 2 3 3 1 2 2 3 3 1 3 1 2 3 2 2 1 2 2 1 2 1 2 2 1 1 2 2 1 1 3 2 1 2 5 1 2 3 3 1 1 3 3 3 1 1 3 1 1 2 2 2 3 3 2 2 2 1 2 1 2 2 4 3 2 3 3 2 4 2 3 2 1 ...
output:
? 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 1031 queries.
Test #31:
score: 0
Accepted
time: 4ms
memory: 3664kb
input:
200 1 1 2 3 1 1 1 3 2 1 1 2 1 2 3 3 1 3 1 1 2 2 3 1 1 2 2 4 3 2 2 2 2 3 1 3 2 1 2 1 1 3 1 2 2 1 1 2 1 1 3 3 2 2 2 4 1 2 1 2 2 2 3 1 2 4 2 2 1 1 2 2 2 2 1 1 2 2 2 3 2 3 1 2 4 2 1 3 1 1 3 1 3 2 3 2 2 2 2 2 3 3 1 3 3 1 1 1 2 2 1 1 3 3 1 1 3 2 3 1 1 2 2 2 2 1 3 2 1 1 3 1 3 2 2 6 1 2 2 2 3 2 2 1 1 3 1 3 ...
output:
? 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 1283 queries.
Test #32:
score: 0
Accepted
time: 0ms
memory: 3688kb
input:
200 1 2 4 1 2 3 3 1 1 4 2 3 2 4 2 2 3 2 1 3 1 2 2 1 1 2 2 2 1 3 1 2 1 3 1 2 5 3 1 4 1 2 1 1 1 3 1 1 3 1 1 1 1 3 1 2 2 2 3 1 2 1 2 1 1 3 3 4 4 1 2 1 1 1 1 4 2 1 1 1 2 3 1 2 2 2 2 1 2 4 2 2 2 3 2 1 2 1 2 1 1 2 2 1 2 3 3 1 1 2 3 3 2 1 3 1 2 1 2 2 3 3 3 4 1 1 1 4 3 1 1 2 4 2 1 3 3 1 1 4 4 2 2 3 1 3 3 1 ...
output:
? 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 1305 queries.
Test #33:
score: 0
Accepted
time: 8ms
memory: 3564kb
input:
200 1 1 3 3 3 1 3 3 2 1 1 5 3 3 1 1 1 1 3 3 1 1 2 2 1 1 2 2 1 1 1 2 2 1 3 2 3 2 4 1 3 1 2 1 1 4 1 1 4 1 2 1 2 3 4 2 2 2 2 1 1 1 3 3 2 2 3 4 1 1 1 1 1 1 2 3 3 3 1 2 1 2 2 3 1 3 2 3 2 1 3 2 1 2 2 2 1 4 1 3 5 2 1 1 5 2 1 1 3 1 2 3 2 1 1 1 3 4 1 1 2 1 1 5 2 2 1 2 1 1 3 1 2 4 2 1 4 3 2 1 6 2 2 2 2 4 1 3 ...
output:
? 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 1310 queries.
Test #34:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
200 2 1 2 2 2 3 3 3 1 1 1 3 3 1 1 2 2 1 2 2 3 3 1 2 1 2 4 3 3 1 2 2 2 2 3 2 1 4 1 3 1 2 2 2 1 1 2 5 1 1 1 2 3 1 1 3 1 1 1 4 1 2 4 1 1 1 3 2 2 2 2 2 1 2 3 3 2 1 2 2 4 1 3 1 1 2 1 3 1 2 4 2 2 2 1 1 2 4 1 1 1 1 5 3 2 3 2 4 2 2 2 1 2 2 4 1 2 2 1 2 1 2 1 2 2 1 1 2 2 1 1 2 2 2 3 2 1 2 3 3 3 1 2 1 2 2 4 2 ...
output:
? 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 1137 queries.
Test #35:
score: 0
Accepted
time: 2ms
memory: 3584kb
input:
200 3 3 2 2 3 2 2 3 2 3 2 3 1 3 2 2 2 2 3 2 2 2 2 3 2 2 2 3 2 2 3 3 3 2 2 2 1 2 2 2 3 2 2 1 3 3 3 2 3 3 2 2 2 3 3 2 2 3 2 3 3 3 1 2 3 2 2 2 1 3 3 2 2 2 2 3 2 2 2 3 2 2 3 1 2 2 2 2 3 2 2 2 2 2 3 1 2 3 2 3 1 2 2 2 3 2 2 2 2 3 3 2 2 3 2 2 3 2 3 2 3 2 2 2 3 2 2 3 2 3 2 2 2 1 2 2 3 3 2 3 2 2 2 2 2 3 2 2 ...
output:
? 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 1042 queries.
Test #36:
score: 0
Accepted
time: 0ms
memory: 3856kb
input:
200 1 2 2 2 3 2 3 2 3 3 2 3 2 3 3 3 2 3 2 3 2 3 2 2 3 2 3 2 2 3 2 2 3 2 3 3 2 3 2 3 2 3 2 3 3 2 2 2 2 1 1 2 2 2 3 2 3 2 3 3 2 3 2 3 3 3 2 3 2 3 2 3 2 2 3 2 3 2 2 3 2 2 3 2 3 3 2 3 2 3 2 3 2 3 3 2 2 2 2 1 1 2 2 2 3 2 3 2 3 3 2 3 2 3 3 3 2 3 2 3 2 3 2 2 3 2 3 2 2 3 2 2 3 2 3 3 2 3 2 3 2 3 2 3 3 2 2 2 ...
output:
? 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok Correct answer with 1187 queries.
Test #37:
score: -100
Wrong Answer
time: 11ms
memory: 3624kb
input:
200 2 2 2 2 2 2 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 ...
output:
? 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
wrong answer Too many queries.