QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#773697 | #9783. Duloc Network | ucup-team4778# | WA | 42ms | 4072kb | C++23 | 2.1kb | 2024-11-23 09:56:02 | 2024-11-23 09:56:06 |
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: 0ms
memory: 3684kb
input:
4 2 3 1 1 2 2 2 2
output:
? 1100 ? 0100 ? 1000 ? 1110 ? 0110 ? 1010 ? 1001 ? 0001 ! 1
result:
ok Correct answer with 8 queries.
Test #2:
score: 0
Accepted
time: 15ms
memory: 3680kb
input:
2 0 0 0
output:
? 11 ? 01 ? 10 ! 0
result:
ok Correct answer with 3 queries.
Test #3:
score: 0
Accepted
time: 1ms
memory: 3752kb
input:
4 2 3 1 1 2 2 2 2
output:
? 1100 ? 0100 ? 1000 ? 1110 ? 0110 ? 1010 ? 1001 ? 0001 ! 1
result:
ok Correct answer with 8 queries.
Test #4:
score: 0
Accepted
time: 15ms
memory: 3928kb
input:
2 0 0 0
output:
? 11 ? 01 ? 10 ! 0
result:
ok Correct answer with 3 queries.
Test #5:
score: 0
Accepted
time: 20ms
memory: 4072kb
input:
50 2 1 1 5 3 2 4 1 4 6 3 3 5 3 2 5 4 3 2 2 1 2 1 5 4 4 2 1 4 1 3 2 1 4 3 2 1 1 3 1 2 3 2 5 4 2 5 3 2 6 2 5 1 5 1 4 3 5 4 3 3 1 2 4 2 4 8 4 6 6 8 6 6 4 2 3 4 1 3 1 7 5 3 5 5 1 4 3 6 5 5 4 6 5 2 5 4 3 3 2 2 6 4 5 4 6 2 7 6 3 2 8 3 6 5 3 4 1 6 4 3 5 9 6 5 7 4 4 4 8 5 7 5 7 4 6 6 6 2 2 7 5 5 3 6 4 6 5 4...
output:
? 00000000000001000000000000000000001000000000000000 ? 00000000000000000000000000000000001000000000000000 ? 00000000000001000000000000000000000000000000000000 ? 10000000000000000000000000000000100000000000000000 ? 10000000000000000000000000000000000000000000000000 ? 000000000000000000000000000000001...
result:
ok Correct answer with 3500 queries.
Test #6:
score: 0
Accepted
time: 0ms
memory: 3692kb
input:
50 22 16 11 19 10 11 13 6 8 19 10 9 21 14 15 17 9 29 18 21 7 25 25 23 18 17 6 17 8 10 18 10 12 23 8 19 14 9 17 9 10 17 10 21 10 15 18 11 9 23 20 20 16 14 8 23 15 22 18 14 15 5 10 19 15 12 20 14 17 16 21 16 16 15 9 17 20 10 20 13 19 17 10 21 18 13 10 16 28 15 25 18 18 19 19 26 17 11 10 14 7 18 13 17 ...
output:
? 00000000000001000000000000000000001000000000000000 ? 00000000000000000000000000000000001000000000000000 ? 00000000000001000000000000000000000000000000000000 ? 10000000000000000000000000000000100000000000000000 ? 10000000000000000000000000000000000000000000000000 ? 000000000000000000000000000000001...
result:
ok Correct answer with 251 queries.
Test #7:
score: 0
Accepted
time: 20ms
memory: 3772kb
input:
50 4 3 1 4 1 3 5 4 1 5 4 1 4 1 3 5 4 7 6 7 5 5 5 4 2 4 1 3 1 2 6 2 4 4 1 3 1 2 5 3 2 2 1 6 5 3 4 1 3 3 2 2 1 2 1 3 2 7 5 4 5 2 3 3 1 3 9 6 6 7 5 2 4 4 3 2 2 1 4 3 9 4 1 3 4 3 1 5 8 6 4 5 2 4 4 6 6 3 5 5 6 4 5 5 3 2 1 6 4 2 1 5 5 3 2 2 2 1 6 3 4 5 5 3 3 4 2 4 6 3 2 2 4 5 4 3 3 5 3 3 7 5 6 4 6 5 5 4 2...
output:
? 00000000000001000000000000000000001000000000000000 ? 00000000000000000000000000000000001000000000000000 ? 00000000000001000000000000000000000000000000000000 ? 10000000000000000000000000000000100000000000000000 ? 10000000000000000000000000000000000000000000000000 ? 000000000000000000000000000000001...
result:
ok Correct answer with 3500 queries.
Test #8:
score: 0
Accepted
time: 2ms
memory: 3612kb
input:
50 12 5 8 12 2 10 17 8 12 14 7 9 18 9 13 14 7 16 15 11 8 12 25 20 15 22 9 15 8 9 18 9 10 11 7 17 8 11 14 9 6 17 10 11 8 4 14 10 4 22 16 18 9 16 8 15 7 13 12 11 9 5 13 8 7 16 12 9 14 8 22 19 15 15 5 16 18 11 14 7 14 18 12 15 23 14 12 16 19 18 23 18 18 18 9 15 16 23 17 16 15 15 8 10 15 6 13 5 17 10 19...
output:
? 00000000000001000000000000000000001000000000000000 ? 00000000000000000000000000000000001000000000000000 ? 00000000000001000000000000000000000000000000000000 ? 10000000000000000000000000000000100000000000000000 ? 10000000000000000000000000000000000000000000000000 ? 000000000000000000000000000000001...
result:
ok Correct answer with 200 queries.
Test #9:
score: 0
Accepted
time: 23ms
memory: 3828kb
input:
50 3 2 1 4 3 1 2 1 1 2 1 1 4 3 1 2 1 5 3 3 1 4 2 5 4 4 2 1 2 1 1 4 2 4 2 2 1 1 3 2 1 4 3 4 1 3 2 1 1 3 2 2 1 2 1 4 3 4 3 2 3 1 2 2 1 4 2 1 2 3 5 4 2 4 1 4 5 2 5 2 2 2 1 2 2 1 1 2 6 4 5 3 5 3 4 3 3 2 2 2 3 6 3 4 5 4 1 4 3 2 1 2 5 5 4 2 4 1 3 2 2 2 3 2 2 2 1 3 3 5 4 4 2 5 4 2 4 2 0 3 7 6 6 5 6 4 4 3 3...
output:
? 00000000000001000000000000000000001000000000000000 ? 00000000000000000000000000000000001000000000000000 ? 00000000000001000000000000000000000000000000000000 ? 10000000000000000000000000000000100000000000000000 ? 10000000000000000000000000000000000000000000000000 ? 000000000000000000000000000000001...
result:
ok Correct answer with 3500 queries.
Test #10:
score: 0
Accepted
time: 18ms
memory: 4040kb
input:
100 4 1 3 3 2 1 7 4 5 2 5 2 10 9 6 5 7 3 8 4 5 6 2 1 1 4 2 2 8 5 3 7 5 6 3 4 3 5 3 2 5 3 3 1 4 2 2 3 2 1 8 6 7 5 3 1 2 3 3 2 1 2 1 1 3 2 1 4 3 3 1 2 9 8 6 5 2 3 3 1 3 3 1 3 1 2 4 3 2 1 3 1 2 6 2 1 2 1 2 1 2 1 4 2 8 3 2 1 1 7 4 6 6 7 4 4 3 2 3 1 4 3 2 1 3 1 7 5 6 4 5 4 2 6 5 4 7 5 5 3 4 2 4 1 7 6 5 4...
output:
? 0000000100000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000 ? 0000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 00000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000...
result:
ok Correct answer with 3500 queries.
Test #11:
score: 0
Accepted
time: 8ms
memory: 3712kb
input:
100 23 12 11 18 7 11 18 10 14 5 15 5 35 20 28 13 31 23 28 21 24 16 16 9 8 15 5 10 19 9 11 27 20 22 13 18 16 11 8 27 15 18 6 21 12 9 15 7 8 18 12 12 5 14 7 21 22 7 16 23 11 13 20 10 10 24 8 19 9 11 20 11 14 16 10 6 20 11 18 13 22 16 16 6 10 19 12 19 12 18 6 13 14 24 16 14 11 20 10 16 9 20 12 12 8 17 ...
output:
? 0000000100000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000 ? 0000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 00000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000...
result:
ok Correct answer with 749 queries.
Test #12:
score: 0
Accepted
time: 19ms
memory: 3808kb
input:
100 11 8 5 9 4 5 7 2 6 1 6 1 12 8 10 6 10 7 9 7 7 6 6 4 2 8 2 6 6 3 4 10 7 6 3 7 3 7 2 5 11 8 7 4 8 4 4 4 3 2 7 7 5 5 6 4 3 11 9 6 4 4 1 3 7 3 5 9 5 3 2 1 14 10 9 10 5 5 4 1 7 7 4 7 3 4 4 2 3 1 9 6 3 6 8 4 7 3 11 4 9 7 10 6 9 4 10 5 5 8 4 6 6 6 3 12 9 10 6 3 7 5 3 1 6 2 17 13 12 8 12 7 8 14 9 10 11 ...
output:
? 0000000100000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000 ? 0000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ? 00000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000...
result:
ok Correct answer with 2394 queries.
Test #13:
score: 0
Accepted
time: 27ms
memory: 3844kb
input:
100 2 1 1 3 2 1 5 3 2 5 1 4 5 3 2 6 3 4 1 5 2 3 2 1 1 7 4 6 3 5 6 4 3 2 5 5 4 1 4 2 2 2 3 1 2 2 1 2 1 1 4 2 6 4 5 3 3 1 5 1 4 3 5 2 4 1 4 6 4 2 1 1 3 2 6 5 5 4 2 1 6 1 5 3 4 2 3 1 3 2 1 8 4 6 2 7 3 7 5 3 5 4 3 1 3 2 2 1 2 5 4 4 3 4 3 3 2 2 2 3 1 2 2 1 3 2 3 2 3 2 5 2 4 1 4 3 2 2 1 3 4 2 2 4 1 4 3 2 ...
output:
? 0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000010000000000 ? 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000 ? 00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000...
result:
ok Correct answer with 3500 queries.
Test #14:
score: 0
Accepted
time: 35ms
memory: 3836kb
input:
100 5 4 1 3 2 1 4 3 1 3 2 1 3 1 2 4 2 4 1 3 1 3 2 1 1 8 3 7 2 7 7 6 2 2 6 4 2 2 4 3 1 6 4 5 3 3 2 4 3 3 6 3 5 4 3 2 3 2 4 2 2 4 4 2 3 1 3 4 1 2 1 1 2 1 8 5 4 1 7 3 5 4 1 2 5 4 4 3 2 1 1 5 3 4 2 4 2 4 3 2 3 3 1 2 6 4 3 1 5 6 4 5 3 5 4 4 2 3 3 2 1 1 2 1 2 1 2 1 2 1 6 3 4 1 5 3 2 2 1 2 3 2 1 2 1 1 2 2 ...
output:
? 0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000010000000000 ? 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000 ? 00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000...
result:
ok Correct answer with 3500 queries.
Test #15:
score: -100
Wrong Answer
time: 42ms
memory: 3872kb
input:
150 5 3 3 1 4 2 2 4 2 2 6 5 3 2 4 3 1 6 2 4 12 6 10 4 8 6 2 7 5 4 2 5 3 2 4 1 3 13 9 9 5 8 4 7 4 3 5 1 5 3 2 2 1 4 3 6 4 4 13 9 7 3 10 6 4 3 1 2 6 2 6 3 3 10 8 8 6 4 2 2 8 4 4 5 3 1 2 1 1 9 5 8 4 5 1 4 7 4 7 3 4 4 5 3 4 2 2 12 6 6 7 4 3 10 4 5 1 6 3 3 9 5 7 6 3 2 5 2 1 6 3 4 2 2 13 10 9 7 4 6 5 8 15...
output:
? 000000000000000000000000000000000001000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000 ? 0000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000...
result:
wrong answer Wrong answer.