QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#784141#9783. Duloc Networkucup-team4851WA 1ms3952kbC++202.1kb2024-11-26 13:42:182024-11-26 13:42:18

詳細信息

Test #1:

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

input:

4
1
3
2
2
1
2
1
2
1
2

output:

? 1000
? 0100
? 0010
? 0001
? 1000
? 1100
? 1000
? 1010
? 1000
? 1001
! 1

result:

ok Correct answer with 10 queries.

Test #2:

score: 0
Accepted
time: 1ms
memory: 3616kb

input:

2
0

output:

? 10
! 0

result:

ok Correct answer with 1 queries.

Test #3:

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

input:

4
1
3
2
2
1
2
1
2
1
2

output:

? 1000
? 0100
? 0010
? 0001
? 1000
? 1100
? 1000
? 1010
? 1000
? 1001
! 1

result:

ok Correct answer with 10 queries.

Test #4:

score: 0
Accepted
time: 1ms
memory: 3664kb

input:

2
0

output:

? 10
! 0

result:

ok Correct answer with 1 queries.

Test #5:

score: -100
Wrong Answer
time: 1ms
memory: 3736kb

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
3
4
3
4
3
4
3
4
3
7
3
6
3
4
3
4
3
5
3
6
3
6
3
3
3
4
3
5
3
7
3
6
3
4
3
4
3
4
3
5
3
7
3
4
3
6
3
4
3
7
3
6
3
4
3
4
3
5
3
5
3
5
3
5
3
4
3
4
3
5
3
4
3
5
3
7
3
4
3
4
3
4
3
5
3
6
3
8
3
4
3
4
3
6
3
5
3
5

output:

? 10000000000000000000000000000000000000000000000000
? 01000000000000000000000000000000000000000000000000
? 00100000000000000000000000000000000000000000000000
? 00010000000000000000000000000000000000000000000000
? 00001000000000000000000000000000000000000000000000
? 000001000000000000000000000000000...

result:

wrong answer Wrong answer.