QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#776499#9783. Duloc Networkucup-team216#WA 2ms3836kbC++232.3kb2024-11-23 19:06:272024-11-23 19:06:28

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4
1
3
2
2
2
2
2

output:

? 1000
? 0100
? 0010
? 0001
? 1100
? 1010
? 1001
! 1

result:

ok Correct answer with 7 queries.

Test #2:

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

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

input:

4
1
3
2
2
2
2
2

output:

? 1000
? 0100
? 0010
? 0001
? 1100
? 1010
? 1001
! 1

result:

ok Correct answer with 7 queries.

Test #4:

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

input:

2
0
0
0

output:

? 10
? 01
? 11
! 0

result:

ok Correct answer with 3 queries.

Test #5:

score: 0
Accepted
time: 2ms
memory: 3540kb

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

output:

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

result:

ok Correct answer with 193 queries.

Test #6:

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

input:

50
10
13
8
6
13
8
10
8
8
8
9
13
15
11
9
10
14
6
16
10
15
10
7
8
10
10
10
13
10
15
9
10
11
5
16
10
14
11
10
9
9
15
11
10
7
11
12
10
9
10
19
14
13
22
17
17
17
18
22
17
13
23
17
15
22
18
17
27
22
20
22
18
15
26
18
17
24
16
18
22
20
16
21
15
12
27
23
20
25
18
17
22
18
19
23
17
16
23
16
14
21
17
12
21
17...

output:

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

result:

wrong answer Wrong answer.