QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#807372#9783. Duloc Networkucup-team2262#WA 2ms3784kbC++231.5kb2024-12-09 22:09:112024-12-09 22:09:12

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3632kb

input:

4
2
1
1
3
1
2
2
1
1
3
1
2
2
1
1
3
1
2

output:

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

result:

ok Correct answer with 18 queries.

Test #2:

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

input:

2
0
0
0

output:

? 01
? 10
? 11
! 0

result:

ok Correct answer with 3 queries.

Test #3:

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

input:

4
2
1
1
3
1
2
2
1
1
3
1
2
2
1
1
3
1
2

output:

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

result:

ok Correct answer with 18 queries.

Test #4:

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

input:

2
0
0
0

output:

? 01
? 10
? 11
! 0

result:

ok Correct answer with 3 queries.

Test #5:

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

input:

50
13
3
14
14
3
15
8
3
11
11
3
14
11
3
14
13
3
16
13
3
14
14
3
15
8
3
11
11
3
14
11
3
14
13
3
16
13
3
14
14
3
15
8
3
11
11
3
14
11
3
14
13
3
16
13
3
14
14
3
15
8
3
11
11
3
14
11
3
14
13
3
16
13
3
14
14
3
15
8
3
11
11
3
14
11
3
14
13
3
16
13
3
14
14
3
15
8
3
11
11
3
14
11
3
14
13
3
16
13
3
14
14
3
15...

output:

? 01111111111111111111111111000000000000000000000000
? 10000000000000000000000000000000000000000000000000
? 11111111111111111111111111000000000000000000000000
? 01111111111110000000000000000000000000000000000000
? 10000000000000000000000000000000000000000000000000
? 111111111111100000000000000000000...

result:

wrong answer Wrong answer.