QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#104238 | #6394. Turn on the Light | 99pts_WA# | WA | 4ms | 3724kb | C++14 | 1.4kb | 2023-05-09 19:07:53 | 2023-05-09 19:07:56 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 3ms
memory: 3724kb
input:
3 1 2 2
output:
? 1 ? 2 ? 3 ! 3
result:
ok Correct position at 3
Test #2:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
10 1 0 1 0 1
output:
? 1 ? 6 ? 7 ? 3 ? 4 ! 5
result:
ok Correct position at 5
Test #3:
score: 0
Accepted
time: 2ms
memory: 3468kb
input:
9 1 2 3 2 1
output:
? 1 ? 5 ? 6 ? 8 ? 9 ! 7
result:
ok Correct position at 7
Test #4:
score: 0
Accepted
time: 2ms
memory: 3612kb
input:
8 1 0 1 0 0
output:
? 1 ? 5 ? 6 ? 3 ? 4 ! 4
result:
ok Correct position at 4
Test #5:
score: 0
Accepted
time: 1ms
memory: 3528kb
input:
7 1 2 3 3 2
output:
? 1 ? 4 ? 5 ? 6 ? 7 ! 6
result:
ok Correct position at 6
Test #6:
score: 0
Accepted
time: 1ms
memory: 3720kb
input:
6 1 0 1 0 0
output:
? 1 ? 4 ? 5 ? 2 ? 3 ! 3
result:
ok Correct position at 3
Test #7:
score: 0
Accepted
time: 2ms
memory: 3696kb
input:
5 1 2 3
output:
? 1 ? 3 ? 4 ! 5
result:
ok Correct position at 5
Test #8:
score: 0
Accepted
time: 2ms
memory: 3620kb
input:
4 1 1 0
output:
? 1 ? 3 ? 4 ! 3
result:
ok Correct position at 3
Test #9:
score: 0
Accepted
time: 2ms
memory: 3572kb
input:
3 1 1 0
output:
? 1 ? 2 ? 3 ! 2
result:
ok Correct position at 2
Test #10:
score: 0
Accepted
time: 2ms
memory: 3536kb
input:
2 1
output:
? 1 ! 2
result:
ok Correct position at 2
Test #11:
score: 0
Accepted
time: 3ms
memory: 3480kb
input:
1 0
output:
? 1 ! 1
result:
ok Correct position at 1
Test #12:
score: -100
Wrong Answer
time: 4ms
memory: 3636kb
input:
1000000 1 0 1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 2 3
output:
? 1 ? 500001 ? 500002 ? 250001 ? 250002 ? 375001 ? 375002 ? 437501 ? 437502 ? 468751 ? 468752 ? 484376 ? 484377 ? 492189 ? 492190 ? 496095 ? 496096 ? 498048 ? 498049 ? 499025 ? 499026 ? 498537 ? 498538 ? 498781 ? 498782 ? 498659 ? 498660 ? 498720 ? 498721 ? 498690 ? 498691 ? 498705 ? 498706 ? 498698...
result:
wrong answer Wrong answer, more than 1 possible light!