QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#776274#9783. Duloc Networkucup-team5810#WA 15ms10704kbPython3681b2024-11-23 18:04:052024-11-23 18:04:06

详细

Test #1:

score: 100
Accepted
time: 15ms
memory: 10704kb

input:

4
2
2
1
2
1
3

output:

? 0001

? 0110

? 0111

? 0010

? 0011

? 0100

! 1

result:

ok Correct answer with 6 queries.

Test #2:

score: 0
Accepted
time: 7ms
memory: 10524kb

input:

2
0

output:

? 01

! 0

result:

ok Correct answer with 1 queries.

Test #3:

score: 0
Accepted
time: 11ms
memory: 10660kb

input:

4
2
2
1
2
1
3

output:

? 0001

? 0110

? 0111

? 0010

? 0011

? 0100

! 1

result:

ok Correct answer with 6 queries.

Test #4:

score: 0
Accepted
time: 8ms
memory: 10628kb

input:

2
0

output:

? 01

! 0

result:

ok Correct answer with 1 queries.

Test #5:

score: 0
Accepted
time: 12ms
memory: 10620kb

input:

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

output:

? 00000000000000000000000000000000000000000000000001

? 00000000000000000000000011111111111111111111111110

? 00000000000000000000000011111111111111111111111111

? 00000000000000000000000000000000000011111111111110

? 00000000000000000000000000000000000011111111111111

? 0000000000000000000000000000...

result:

ok Correct answer with 121 queries.

Test #6:

score: 0
Accepted
time: 12ms
memory: 10652kb

input:

50
10
25
24
35
34
36
36
28
32
18
23
9
18
26
36
33
24
17
29
10
26
23
36
34
38
38
25
34
21
12
27
36
33
37
37
24
37
17
11
27
22
36
32
36
37
20
15
7
28
37
35
36
28
17
10
28
21
37
31
33
35
27
22
11
29
38
30
32
26
22
15
29
20
37
29
33
23
17
9
30
37
31
21
18
9
30
19
38
29
34
24
18
10
31
38
28
35
27
21
11
3...

output:

? 00000000000000000000000000000000000000000000000001

? 00000000000000000000000011111111111111111111111110

? 00000000000000000000000011111111111111111111111111

? 00000000000000000000000000000000000011111111111110

? 00000000000000000000000000000000000011111111111111

? 0000000000000000000000000000...

result:

ok Correct answer with 280 queries.

Test #7:

score: -100
Wrong Answer
time: 10ms
memory: 10532kb

input:

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

output:

? 00000000000000000000000000000000000000000000000001

? 00000000000000000000000011111111111111111111111110

? 00000000000000000000000011111111111111111111111111

? 00000000000000000000000000000000000011111111111110

? 00000000000000000000000000000000000011111111111111

? 0000000000000000000000000000...

result:

wrong answer Wrong answer.