QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#774701#9783. Duloc Networkucup-team6004#WA 1ms3828kbC++171.2kb2024-11-23 13:42:232024-11-23 13:42:26

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4
1
3
2
2
2
1

output:

? 1000
? 0100
? 1100
? 0010
? 0001
? 0011
! 1

result:

ok Correct answer with 6 queries.

Test #2:

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

input:

2
0
0

output:

? 10
? 01
! 0

result:

ok Correct answer with 2 queries.

Test #3:

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

input:

4
1
3
2
2
2
1

output:

? 1000
? 0100
? 1100
? 0010
? 0001
? 0011
! 1

result:

ok Correct answer with 6 queries.

Test #4:

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

input:

2
0
0

output:

? 10
? 01
! 0

result:

ok Correct answer with 2 queries.

Test #5:

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

input:

50
3
1
4
1
1
2
1
4
5
1
1
2
3
3
6
1
2
3
3
1
4
1
2
3
1
3
4
4
3
7
2
2
4
2
4
6
2
1
3
2
1
2
2
4
4
1
4
1
4
3
3
4
3
7
6
2
8
3
2
5

output:

? 10000000000000000000000000000000000000000000000000
? 01000000000000000000000000000000000000000000000000
? 11000000000000000000000000000000000000000000000000
? 00100000000000000000000000000000000000000000000000
? 00010000000000000000000000000000000000000000000000
? 001100000000000000000000000000000...

result:

ok Correct answer with 60 queries.

Test #6:

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

input:

50
10
13
19
8
6
12
22
13
8
18
10
23
33
8
8
16
9
13
21
15
29
11
9
20
14
6
18
16
27
10
15
24
10
27
7
8
12
10
18
35
10
10
19
13
10
19
30
15
9
21
10
24
35
11
5
14
16
25
10
14
21
11
27
36
36
10
9
18
9
23
15
11
22
10
28
35
7
11
17
12
25
10
9
18
10
23
34
36
25

output:

? 10000000000000000000000000000000000000000000000000
? 01000000000000000000000000000000000000000000000000
? 11000000000000000000000000000000000000000000000000
? 00100000000000000000000000000000000000000000000000
? 00010000000000000000000000000000000000000000000000
? 001100000000000000000000000000000...

result:

wrong answer Wrong answer.