QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#774846#9783. Duloc Networkucup-team3613#WA 2ms3836kbC++171.8kb2024-11-23 14:00:352024-11-23 14:00:36

详细

Test #1:

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

input:

4
1
2
1
3
2
2

output:

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

result:

ok Correct answer with 6 queries.

Test #2:

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

input:

2
0

output:

? 10
! 0

result:

ok Correct answer with 1 queries.

Test #3:

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

input:

4
1
2
1
3
2
2

output:

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

result:

ok Correct answer with 6 queries.

Test #4:

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

input:

2
0

output:

? 10
! 0

result:

ok Correct answer with 1 queries.

Test #5:

score: -100
Wrong Answer
time: 2ms
memory: 3532kb

input:

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

output:

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

result:

wrong answer Wrong answer.