QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#786713#9783. Duloc Networkucup-team5818WA 3ms3832kbC++201.9kb2024-11-26 23:00:412024-11-26 23:00:42

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4
1
2
1
3
2
2
2
1
1
2
0

output:

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

result:

ok Correct answer with 11 queries.

Test #2:

score: 0
Accepted
time: 1ms
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: 0ms
memory: 3544kb

input:

4
1
2
1
3
2
2
2
1
1
2
0

output:

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

result:

ok Correct answer with 11 queries.

Test #4:

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

input:

2
0
0
0

output:

? 10
? 01
? 11
! 0

result:

ok Correct answer with 3 queries.

Test #5:

score: -100
Wrong Answer
time: 3ms
memory: 3832kb

input:

50
3
13
14
14
15
8
11
11
14
11
14
13
16
3
12
14
12
14
8
10
3
6
4
7
7
9
6
11
13
13
16
6
11
3
8
1
7
2
8
6
11
13
12
16
5
11
9
13
6
12
8
13
7
13
12
13
17
5
12
11
15
6
13
9
13
7
14
12
13
16
5
12
7
14
9
16
10
17
6
14
13
11
17
10
16
12
14
12
15
6
13
13
10
15
5
10
2
7
1
7
6
13
14
10
16
9
15
8
13
9
15
9
14
9...

output:

? 10000000000000000000000000000000000000000000000000
? 01111111111111111111111111000000000000000000000000
? 11111111111111111111111111000000000000000000000000
? 01111111111110000000000000000000000000000000000000
? 11111111111110000000000000000000000000000000000000
? 011111100000000000000000000000000...

result:

wrong answer Token parameter [name=s] equals to "000000001000000000010000100000000000000000000000000", doesn't correspond to pattern "[01]{50}"