QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#777594#9783. Duloc Networkucup-team253#WA 1ms4032kbC++233.4kb2024-11-24 03:59:392024-11-24 03:59:41

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4
1
3
2
2
1
2
2
2
2

output:

? 1000
? 0100
? 0010
? 0001
? 1101
? 1001
? 1001
? 0110
? 0110
! 1

result:

ok Correct answer with 9 queries.

Test #2:

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

input:

2
0
0

output:

? 10
? 01
! 0

result:

ok Correct answer with 2 queries.

Test #3:

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

input:

4
1
3
2
2
1
2
2
2
2

output:

? 1000
? 0100
? 0010
? 0001
? 1101
? 1001
? 1001
? 0110
? 0110
! 1

result:

ok Correct answer with 9 queries.

Test #4:

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

input:

2
0
0

output:

? 10
? 01
! 0

result:

ok Correct answer with 2 queries.

Test #5:

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

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

output:

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

result:

wrong answer Wrong answer.