QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#570179 | #7757. Palm Island | Diaosi# | WA | 1ms | 3712kb | C++17 | 509b | 2024-09-17 14:30:51 | 2024-09-17 14:30:55 |
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: 3712kb
input:
2 3 1 2 3 2 3 1 4 1 2 3 4 2 1 3 4
output:
221111111 2111111111111111
result:
ok Correct. (2 test cases)
Test #2:
score: -100
Wrong Answer
time: 1ms
memory: 3600kb
input:
200 3 3 1 2 2 3 1 4 2 4 1 3 2 1 4 3 4 1 4 2 3 2 1 3 4 5 4 3 2 1 5 2 4 5 3 1 5 2 1 5 4 3 5 2 4 1 3 4 4 3 1 2 1 2 4 3 3 1 2 3 3 1 2 4 1 4 2 3 2 1 4 3 4 1 3 2 4 1 4 3 2 3 3 2 1 1 3 2 3 2 3 1 1 3 2 4 1 4 3 2 3 1 2 4 3 1 2 3 1 3 2 3 3 2 1 2 3 1 5 5 1 3 2 4 2 4 5 1 3 4 4 3 1 2 1 4 3 2 4 1 3 4 2 2 4 3 1 3 ...
output:
121211111 2221121121111111 2221111111111111 2222122211121111111111111 2212111211121111111111111 2221221121111111 121211111 2221121111111111 1221111111111111 221111111 211111111 2221221111111111 121111111 121111111 1222112211211111111111111 2221211111111111 2121111111111111 121211111 1111111111111111...
result:
wrong answer On Case#2: After your operations, a[1] = 3 but a[1] = 2. (test case 2)