QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#781559 | #5277. Limited Swaps | ZhaoZiLong | WA | 1ms | 7684kb | C++23 | 1.4kb | 2024-11-25 16:29:40 | 2024-11-25 16:29:41 |
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: 7684kb
input:
5 1 3 5 2 4 3 5 1 4 2
output:
3 1 2 4
result:
ok OK, found solution, n = 5, ops = 3
Test #2:
score: 0
Accepted
time: 1ms
memory: 5648kb
input:
4 1 2 3 4 4 3 2 1
output:
-1
result:
ok OK, no solution
Test #3:
score: 0
Accepted
time: 1ms
memory: 5624kb
input:
1 1 1
output:
0
result:
ok OK, found solution, n = 1, ops = 0
Test #4:
score: -100
Wrong Answer
time: 1ms
memory: 5700kb
input:
2 1 2 2 1
output:
1 1
result:
wrong answer Trying to swap elements 1 and 2 on 0-based indices 0 and 1 on step 0