QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#166692 | #1282. Necklace | waifuSenpai# | WA | 74ms | 13852kb | C++17 | 4.8kb | 2023-09-06 16:40:42 | 2023-09-06 16:40:42 |
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: 0ms
memory: 11768kb
input:
4 4 1 1 1 1 1 2 3 4 4 1 1 2 2 1 2 3 4 8 2 6 5 4 3 1 7 7 -1 4 -1 2 10 -1 3 0 6 5 5 3 3 4 6 5 8 0 -1 -2 -7
output:
-1 4 1 3 2 4 5 5 7 4 8 2 4 3 2 4 1
result:
ok 4 cases.
Test #2:
score: -100
Wrong Answer
time: 74ms
memory: 13852kb
input:
36398 6 4 6 4 4 5 2 7 -9 -9 4 -1 -8 2 1 1 -8 -5 2 2 1 10 7 9 5 6 5 8 2 3 3 7 8 -7 5 -5 7 8 7 -5 -5 8 2 1 2 6 -8 9 2 3 3 5 3 9 3 9 3 5 2 -2 5 -8 -5 -3 6 -2 4 4 2 4 1 -1 -1 10 -4 4 3 1 2 1 -9 -6 4 10 5 4 3 4 1 4 -8 1 6 10 -8 6 2 6 3 5 4 1 1 -7 4 0 6 -6 6 6 6 5 2 1 2 3 1 2 -8 -7 0 10 2 9 10 7 8 7 6 7 6...
output:
4 6 4 1 5 -1 -1 5 5 4 6 9 2 -1 4 1 2 4 8 3 4 2 3 3 4 3 1 3 4 2 3 4 1 3 5 4 4 6 1 3 2 5 10 4 7 6 9 4 3 6 9 2 6 2 4 3 7 8 6 6 9 3 6 1 10 2 -1 6 6 8 1 3 2 5 3 4 3 1 4 4 1 3 2 -1 4 3 2 5 1 -1 4 3 8 2 7 7 2 4 5 3 6 7 1 -1 5 7 4 2 6 8 4 5 3 4 1 -1 5 3 4 8 7 1 4 5 2 8 7 -1 4 1 3 4 2 ...
result:
wrong answer case #1:, adjacent gems have the same color