QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#776550#9783. Duloc Networkucup-team216#WA 1ms3832kbC++232.9kb2024-11-23 19:20:282024-11-23 19:20:30

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4
1
3
2
2
2
1
0

output:

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

result:

ok Correct answer with 7 queries.

Test #2:

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

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: 3500kb

input:

4
1
3
2
2
2
1
0

output:

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

result:

ok Correct answer with 7 queries.

Test #4:

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

input:

2
0
0
0

output:

? 10
? 01
? 11
! 0

result:

ok Correct answer with 3 queries.

Test #5:

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

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

output:

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

result:

wrong answer Wrong answer.