QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#558214#9188. Light BulbsMilmon0 1ms4132kbC++144.8kb2024-09-11 14:55:552024-09-11 14:55:56

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Time Limit Exceeded

Test #1:

score: 11
Accepted
time: 1ms
memory: 4044kb

input:

3
6
3

output:

?
101
000
011
?
000
011
000
!
001
001
010

result:

points 1.0 points  1.0 correct, 2 queries

Test #2:

score: 11
Accepted
time: 1ms
memory: 4132kb

input:

3
9
3

output:

?
101
000
011
?
001
000
001
!
100
000
011

result:

points 1.0 points  1.0 correct, 2 queries

Test #3:

score: 11
Accepted
time: 1ms
memory: 3952kb

input:

3
8
6
5

output:

?
101
000
011
?
100
000
010
?
100
101
000
!
001
001
001

result:

points 1.0 points  1.0 correct, 3 queries

Test #4:

score: 11
Accepted
time: 1ms
memory: 4108kb

input:

3
7
5
7
8
8
9

output:

?
101
000
011
?
001
000
011
?
101
000
001
?
111
010
000
?
111
100
000
?
101
010
010
!
100
010
010

result:

points 1.0 points  1.0 correct, 6 queries

Test #5:

score: 11
Accepted
time: 1ms
memory: 4008kb

input:

3
6
5
8
9

output:

?
101
000
011
?
000
011
000
?
100
111
000
?
001
101
010
!
001
001
010

result:

points 1.0 points  1.0 correct, 4 queries

Test #6:

score: 11
Accepted
time: 1ms
memory: 4128kb

input:

3
9
5
3

output:

?
101
000
011
?
001
000
001
?
001
001
000
!
100
001
010

result:

points 1.0 points  1.0 correct, 3 queries

Test #7:

score: 11
Accepted
time: 1ms
memory: 4128kb

input:

3
7
5
7
9
7
9

output:

?
101
000
011
?
001
000
011
?
101
000
001
?
111
010
000
?
010
110
000
?
111
100
000
!
111
000
000

result:

points 1.0 points  1.0 correct, 6 queries

Test #8:

score: 11
Accepted
time: 1ms
memory: 4120kb

input:

3
7
5
7
9
5

output:

?
101
000
011
?
001
000
011
?
101
000
001
?
111
010
000
?
010
110
000
!
111
000
000

result:

points 1.0 points  1.0 correct, 5 queries

Test #9:

score: 11
Accepted
time: 0ms
memory: 4120kb

input:

3
7
6
7
8
8
9

output:

?
101
000
011
?
001
000
011
?
100
000
011
?
101
000
111
?
101
100
010
?
101
100
110
!
100
100
100

result:

points 1.0 points  1.0 correct, 6 queries

Test #10:

score: 11
Accepted
time: 1ms
memory: 4116kb

input:

3
7
5
6
8
9

output:

?
101
000
011
?
001
000
011
?
101
000
001
?
011
110
000
?
111
110
000
!
101
010
000

result:

points 1.0 points  1.0 correct, 5 queries

Test #11:

score: 11
Accepted
time: 1ms
memory: 4124kb

input:

3
7
7
8
8
8
7

output:

?
101
000
011
?
001
000
011
?
100
001
011
?
001
101
001
?
001
100
011
?
001
001
001
!
000
101
010

result:

points 1.0 points  1.0 correct, 6 queries

Test #12:

score: 11
Accepted
time: 1ms
memory: 4128kb

input:

3
8
5
8
8
9
7
9

output:

?
101
000
011
?
100
000
010
?
101
000
011
?
101
000
011
?
100
010
011
?
100
100
011
?
101
110
011
!
000
110
001

result:

points 1.0 points  1.0 correct, 7 queries

Test #13:

score: 11
Accepted
time: 1ms
memory: 4124kb

input:

3
7
5
5
9
7

output:

?
101
000
011
?
001
000
011
?
101
000
001
?
011
110
000
?
110
010
010
!
001
110
000

result:

points 1.0 points  1.0 correct, 5 queries

Test #14:

score: 0
Time Limit Exceeded

input:

3
8
5
8
8
9
8
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
...

output:

?
101
000
011
?
100
000
010
?
101
000
011
?
101
000
011
?
100
010
011
?
100
100
011
?
101
110
011
?
101
110
011
?
101
110
011
?
101
110
011
?
101
110
011
?
101
110
011
?
101
110
011
?
101
110
011
?
101
110
011
?
101
110
011
?
101
110
011
?
101
110
011
?
101
110
011
?
101
110
011
?
101
110
011
?
101
...

result:


Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Skipped

Dependency #1:

0%