QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#807367#9783. Duloc Networkucup-team2262#WA 1ms3820kbC++231.6kb2024-12-09 22:05:572024-12-09 22:05:57

详细

Test #1:

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

input:

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

output:

? 0011
? 0100
? 0111
? 0010
? 0100
? 0110
? 0011
? 0100
? 0111
? 0010
? 0100
? 0110
? 0011
? 0100
? 0111
? 0010
? 0100
? 0110
! 1

result:

ok Correct answer with 18 queries.

Test #2:

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

input:

2
0
0
0

output:

? 00
? 01
? 01
! 0

result:

ok Correct answer with 3 queries.

Test #3:

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

input:

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

output:

? 0011
? 0100
? 0111
? 0010
? 0100
? 0110
? 0011
? 0100
? 0111
? 0010
? 0100
? 0110
? 0011
? 0100
? 0111
? 0010
? 0100
? 0110
! 1

result:

ok Correct answer with 18 queries.

Test #4:

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

input:

2
0
0
0

output:

? 00
? 01
? 01
! 0

result:

ok Correct answer with 3 queries.

Test #5:

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

input:

50
13
1
12
14
1
13
10
1
9
3
1
4
6
1
7
9
1
8
13
1
12
14
1
13
10
1
9
3
1
4
6
1
7
9
1
8
13
1
12
14
1
13
10
1
9
3
1
4
6
1
7
9
1
8
13
1
12
14
1
13
10
1
9
3
1
4
6
1
7
9
1
8
13
1
12
14
1
13
10
1
9
3
1
4
6
1
7
9
1
8
13
1
12
14
1
13
10
1
9
3
1
4
6
1
7
9
1
8
13
1
12
14
1
13
10
1
9
3
1
4
6
1
7
9
1
8
13
1
12
14...

output:

? 00111111111111111111111111100000000000000000000000
? 01000000000000000000000000000000000000000000000000
? 01111111111111111111111111100000000000000000000000
? 00111111111111000000000000000000000000000000000000
? 01000000000000000000000000000000000000000000000000
? 011111111111110000000000000000000...

result:

wrong answer Wrong answer.