QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#773987#9783. Duloc Networkucup-team3569#WA 1ms3884kbC++141.2kb2024-11-23 11:08:592024-11-23 11:09:05

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

output:

? 1000
? 0100
? 0010
? 0001
? 1100
? 0110
? 0011
! 1

result:

ok Correct answer with 7 queries.

Test #2:

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

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

input:

4
1
3
2
2
2
2
1

output:

? 1000
? 0100
? 0010
? 0001
? 1100
? 0110
? 0011
! 1

result:

ok Correct answer with 7 queries.

Test #4:

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

input:

2
0
0
0

output:

? 10
? 01
? 11
! 0

result:

ok Correct answer with 3 queries.

Test #5:

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

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

output:

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

result:

ok Correct answer with 199 queries.

Test #6:

score: -100
Wrong Answer
time: 1ms
memory: 3756kb

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
19
12
18
22
18
16
15
16
18
13
17
28
21
29
23
22
20
24
17
23
26
18
19
23
24
27
19
13
12
15
17
19
27
21
19
22
21
16
15
14
19
21
21
21
18
18
23
17
26
22
22
17
15
17...

output:

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

result:

wrong answer Wrong answer.