QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#774028#9783. Duloc Networkucup-team3569#WA 2ms3824kbC++141.6kb2024-11-23 11:21:542024-11-23 11:21:59

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4
1
3
2
2
2
2
1
1
0
0

output:

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

result:

ok Correct answer with 10 queries.

Test #2:

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

input:

2
0
0
0

output:

? 10
? 01
? 11
! 0

result:

ok Correct answer with 3 queries.

Test #3:

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

input:

4
1
3
2
2
2
2
1
1
0
0

output:

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

result:

ok Correct answer with 10 queries.

Test #4:

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

input:

2
0
0
0

output:

? 10
? 01
? 11
! 0

result:

ok Correct answer with 3 queries.

Test #5:

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

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

output:

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

result:

wrong answer Wrong answer.