QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#775261#9783. Duloc Networkucup-team1869#WA 1ms3764kbC++141.5kb2024-11-23 15:13:482024-11-23 15:13:49

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4
1
3
2
2
3
1
2
2
2
2

output:

? 1000
? 0100
? 0010
? 0001
? 0100
? 1110
? 1010
? 1100
? 0110
? 0101
! 1

result:

ok Correct answer with 10 queries.

Test #2:

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

input:

2
0
0
0

output:

? 10
? 01
? 01
! 0

result:

ok Correct answer with 3 queries.

Test #3:

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

input:

4
1
3
2
2
3
1
2
2
2
2

output:

? 1000
? 0100
? 0010
? 0001
? 0100
? 1110
? 1010
? 1100
? 0110
? 0101
! 1

result:

ok Correct answer with 10 queries.

Test #4:

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

input:

2
0
0
0

output:

? 10
? 01
? 01
! 0

result:

ok Correct answer with 3 queries.

Test #5:

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

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

output:

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

result:

wrong answer Wrong answer.