QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#774064#9783. Duloc Networkucup-team4778#TL 1ms4088kbC++231.5kb2024-11-23 11:32:362024-11-23 11:32:36

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 4088kb

input:

4
3
2
2
1
2
1
1
2
0

output:

? 0100
? 0001
? 0101
? 1000
? 0101
? 1101
? 1101
? 0010
? 1111
! 1

result:

ok Correct answer with 9 queries.

Test #2:

score: -100
Time Limit Exceeded

input:

2
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

output:

? 01
? 10
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
? 11
...

result: