QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#76750 | #5508. Job for a Hobbit | qiuzx | WA | 2ms | 3664kb | C++11 | 4.1kb | 2023-02-12 09:40:30 | 2023-02-12 09:40:34 |
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: 2ms
memory: 3636kb
input:
2 2 2 1 2 2 1 1 4 1 2 3 4
output:
TAK 26 2 3 1 2 2 3 1 2 2 1 2 1 1 0 0 1 1 2 1 0 2 1 1 0 3 2 2 1 3 2 1 2 2 3 2 1 0 1 1 2 2 3 1 0 3 2 3 2 2 1 2 1 NIE
result:
ok Correct! Used 26 swaps
Test #2:
score: -100
Wrong Answer
time: 2ms
memory: 3664kb
input:
25 2 7 4 1 2 2 3 2 4 4 4 6 4 2 2 5 2 5 6 5 5 3 3 1 6 5 2 5 2 8 1 4 2 1 4 1 2 1 1 3 4 4 2 2 1 2 2 4 1 1 5 2 1 5 2 2 2 10 3 5 4 5 5 2 1 3 5 2 5 2 2 1 5 1 3 3 4 2 2 8 2 4 3 3 4 2 1 2 5 1 4 1 2 6 3 4 2 9 4 3 4 3 4 2 4 1 2 2 4 4 2 2 3 3 3 4 2 4 4 1 3 1 4 2 4 3 2 4 5 1 2 2 2 4 3 2 2 7 1 2 4 5 2 5 2 4 5 5 ...
output:
NIE NIE TAK 126 2 3 1 2 2 3 1 2 2 3 1 2 2 3 1 2 2 3 1 2 2 3 1 2 2 3 1 2 2 3 1 2 2 1 2 1 2 1 1 0 2 1 1 0 2 1 1 0 2 1 1 0 2 1 1 0 2 1 0 1 1 2 0 1 1 2 0 1 1 2 0 1 1 2 0 1 1 2 1 0 1 0 1 0 2 1 1 0 2 1 1 0 2 1 1 0 2 1 1 0 2 1 1 0 3 2 2 1 3 2 2 1 3 2 3 2 2 1 3 2 3 2 2 1 3 2 3 2 2 1 1 2 2 3 1 2 2 3 1 2 2 3 ...
result:
wrong answer Final position is incorrect. Pillar 3 has more than one colour