QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#380947 | #6394. Turn on the Light | ZhaoZiLong | WA | 1ms | 3692kb | C++17 | 558b | 2024-04-07 15:24:25 | 2024-04-07 15:24:26 |
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: 1ms
memory: 3544kb
input:
3 1 2 2
output:
? 1 ? 2 ? 3 ! 3
result:
ok Correct position at 3
Test #2:
score: 0
Accepted
time: 0ms
memory: 3692kb
input:
10 1 2 3 2 1 1
output:
? 1 ? 2 ? 3 ? 7 ? 5 ? 4 ! 4
result:
ok Correct position at 4
Test #3:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
9 1 2 3 4 3 3
output:
? 1 ? 2 ? 3 ? 6 ? 8 ? 7 ! 7
result:
ok Correct position at 7
Test #4:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
8 1 2 3 2 2
output:
? 1 ? 2 ? 3 ? 6 ? 5 ! 5
result:
ok Correct position at 5
Test #5:
score: 0
Accepted
time: 1ms
memory: 3564kb
input:
7 1 2 3 4 5 5
output:
? 1 ? 2 ? 3 ? 5 ? 6 ? 7 ! 7
result:
ok Correct position at 7
Test #6:
score: 0
Accepted
time: 0ms
memory: 3600kb
input:
6 1 2 3 2 2
output:
? 1 ? 2 ? 3 ? 5 ? 4 ! 4
result:
ok Correct position at 4
Test #7:
score: 0
Accepted
time: 1ms
memory: 3692kb
input:
5 1 2 3 3
output:
? 1 ? 2 ? 3 ? 4 ! 4
result:
ok Correct position at 4
Test #8:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
4 1 2 3 3
output:
? 1 ? 2 ? 3 ? 4 ! 4
result:
ok Correct position at 4
Test #9:
score: 0
Accepted
time: 0ms
memory: 3692kb
input:
3 1 1
output:
? 1 ? 2 ! 2
result:
ok Correct position at 2
Test #10:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
2 1 1
output:
? 1 ? 2 ! 2
result:
ok Correct position at 2
Test #11:
score: 0
Accepted
time: 1ms
memory: 3608kb
input:
1 0
output:
? 1 ! 1
result:
ok Correct position at 1
Test #12:
score: -100
Wrong Answer
time: 1ms
memory: 3608kb
input:
1000000 1 2 3 2 1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 16
output:
? 1 ? 2 ? 3 ? 500002 ? 250003 ? 125003 ? 62503 ? 93753 ? 109378 ? 117191 ? 121097 ? 123050 ? 124027 ? 124515 ? 124759 ? 124881 ? 124942 ? 124973 ? 124988 ? 124996 ? 125000 ? 125002 ? 125003 ! 125003
result:
wrong answer Wrong answer, more than 1 possible light!