QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#783680#9783. Duloc NetworkcarrotqqWA 1ms4104kbC++14973b2024-11-26 11:20:292024-11-26 11:20:29

详细

Test #1:

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

input:

4
1
2
1
3
2
2
2
1
1

output:

? 1000
? 0110
? 1110
? 0100
? 1100
? 1100
? 0010
? 1110
? 1110
! 1

result:

ok Correct answer with 9 queries.

Test #2:

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

input:

2
0

output:

? 10
! 0

result:

ok Correct answer with 1 queries.

Test #3:

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

input:

4
1
2
1
3
2
2
2
1
1

output:

? 1000
? 0110
? 1110
? 0100
? 1100
? 1100
? 0010
? 1110
? 1110
! 1

result:

ok Correct answer with 9 queries.

Test #4:

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

input:

2
0

output:

? 10
! 0

result:

ok Correct answer with 1 queries.

Test #5:

score: -100
Wrong Answer
time: 0ms
memory: 4036kb

input:

50
3
13
14
13
14
9
12
4
7
2
5
1
4
4
14
14
14
14
10
12
3
7
2
6
1
5
5
13
13
15
16
10
13
5
10
9
12
8
11
6
12
13
15
17
8
14
5
11
2
8
1
7
7
11
12
14
16
8
14
6
12
8
14
7
13
8
12
12
13
16
9
16
6
13
5
12
1
9
9
15
13
15
17
9
15
6
14
5
13
4
12
12
16
13
16
17
9
14
4
14
3
14
1
13
13
18
14
17
17
11
16
6
16
3
14
...

output:

? 10000000000000000000000000000000000000000000000000
? 01111111111111111111111111000000000000000000000000
? 11111111111111111111111111000000000000000000000000
? 01111111111111000000000000000000000000000000000000
? 11111111111111000000000000000000000000000000000000
? 011111110000000000000000000000000...

result:

wrong answer Wrong answer.