QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#805916#9783. Duloc Networkucup-team6164#WA 3ms4076kbC++203.1kb2024-12-08 19:40:212024-12-08 19:40:22

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4
1
2
2
3
2
1
1

output:

? 1000
? 0001
? 1001
? 0100
? 1100
? 1101
? 1110
! 1

result:

ok Correct answer with 7 queries.

Test #2:

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

input:

2
0

output:

? 10
! 0

result:

ok Correct answer with 1 queries.

Test #3:

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

input:

4
1
2
2
3
2
1
1

output:

? 1000
? 0001
? 1001
? 0100
? 1100
? 1101
? 1110
! 1

result:

ok Correct answer with 7 queries.

Test #4:

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

input:

2
0

output:

? 10
! 0

result:

ok Correct answer with 1 queries.

Test #5:

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

input:

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

output:

? 10000000000000000000000000000000000000000000000000
? 00000001110101110111001000101111111101100110000000
? 10000001110101110111001000101111111101100110000000
? 00111000001000001000100101000000000000001001101000
? 10111000001000001000100101000000000000001001101000
? 000110000010000000001000000000000...

result:

wrong answer Wrong answer.