QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#775913#9783. Duloc Networkucup-team5316#WA 3ms3844kbC++141.2kb2024-11-23 17:02:392024-11-23 17:02:39

詳細信息

Test #1:

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

input:

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

output:

? 1000
? 0100
? 0010
? 0001
? 1100
? 1000
? 1100
? 1110
? 1100
? 1110
? 1110
? 1111
? 1111
! 1

result:

ok Correct answer with 13 queries.

Test #2:

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

input:

2
0
0
0
0

output:

? 10
? 01
? 10
? 11
! 0

result:

ok Correct answer with 4 queries.

Test #3:

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

input:

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

output:

? 1000
? 0100
? 0010
? 0001
? 1100
? 1000
? 1100
? 1110
? 1100
? 1110
? 1110
? 1111
? 1111
! 1

result:

ok Correct answer with 13 queries.

Test #4:

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

input:

2
0
0
0
0

output:

? 10
? 01
? 10
? 11
! 0

result:

ok Correct answer with 4 queries.

Test #5:

score: -100
Wrong Answer
time: 3ms
memory: 3844kb

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
15
16
10
5
6
7
6
5
5
4
14
15
11
5
9
10
9
8
4
4
14
14
12
5
9
11
9
8
3
13
16
13
7
11
12
6
5
5
13
16
13
6
7
12
7
6
6
12
17
14
6
7
13
8
7
7
12
16
14
6
7
14
8
7
7
13
17
16
6
7
14
10
9
9
13
17
15
6
7
16
...

output:

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

result:

wrong answer Wrong answer.