QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#798688#9783. Duloc NetworkMaMengQiWA 2ms3972kbC++172.1kb2024-12-04 16:08:222024-12-04 16:08:22

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4
1
3
2
2
1
2
1
0

output:

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

result:

ok Correct answer with 8 queries.

Test #2:

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

input:

2
0

output:

? 10
! 0

result:

ok Correct answer with 1 queries.

Test #3:

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

input:

4
1
3
2
2
1
2
1
0

output:

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

result:

ok Correct answer with 8 queries.

Test #4:

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

input:

2
0

output:

? 10
! 0

result:

ok Correct answer with 1 queries.

Test #5:

score: -100
Wrong Answer
time: 2ms
memory: 3964kb

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

output:

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

result:

wrong answer Wrong answer.