QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#732662 | #7751. Palindrome Path | ucup-team4217# | WA | 1ms | 5836kb | C++20 | 3.6kb | 2024-11-10 15:27:53 | 2024-11-10 15:27:53 |
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: 5524kb
input:
2 2 11 11 1 1 2 2
output:
DUURDDUUUUDDRUUD
result:
ok Valid Solution (Length = 16).
Test #2:
score: 0
Accepted
time: 1ms
memory: 5836kb
input:
2 2 10 01 1 1 2 2
output:
-1
result:
ok No Solution.
Test #3:
score: 0
Accepted
time: 1ms
memory: 5836kb
input:
1 1 1 1 1 1 1
output:
result:
ok Valid Solution (Length = 0).
Test #4:
score: 0
Accepted
time: 1ms
memory: 5776kb
input:
5 4 1111 1111 1111 1111 1111 4 2 4 2
output:
DDUULLRRLLRRRUDDUDDUDDUDDRLDDDUUUUDDDUUUUDDDUUUUDDRLLUDDUDDRLLDDDUUUUDDDUUUUDDDUUUDDUUUDDUDDUDDUDDLRDDDUUUUDDDUUUULLRRUDDUDDLLRRRDDDUUUUDDDUUUUDDDUUUDDUURLRLLUDDDDULLRLRUUDDUUUDDDUUUUDDDUUUUDDDRRRLLDDUDDURRLLUUUUDDDUUUUDDDRLDDUDDUDDUDDUUUDDUUUDDDUUUUDDDUUUUDDDLLRDDUDDULLRDDUUUUDDDUUUUDDDUUUUDDDLRDDU...
result:
ok Valid Solution (Length = 322).
Test #5:
score: 0
Accepted
time: 1ms
memory: 5780kb
input:
5 5 11111 10101 11111 10101 11111 1 4 5 5
output:
RDDDDUUUUUDDDDUUUUDDDUUUDDUURLRRLLDDRRRLLDDRRRLLLRRRRLLLLDDDDUUUUUDDDDUUUUDDDUUUDDUURRRRRLLLLDDRRRRRLLLLDDRRDDDDUUUUUDDDDUUUUDDDUUUDDUURRRRUUDDUUUDDDUUUUDDDDUUUUUDDDDRRDDLLLLRRRRRDDLLLLRRRRRUUDDUUUDDDUUUUDDDDUUUUUDDDDLLLLRRRRLLLRRRDDLLRRRDDLLRRLRUUDDUUUDDDUUUUDDDDUUUUUDDDDR
result:
ok Valid Solution (Length = 274).
Test #6:
score: -100
Wrong Answer
time: 1ms
memory: 5568kb
input:
5 3 111 100 111 001 111 4 3 3 2
output:
URLRLLLRLRRDDRLRLLDDLRLRRRLRLLUULRRLUULLRLRRRLRLDDLLRLRDDRRLRLLLRLRU
result:
wrong answer End Point Is (5,2), Not (er = 3, ec = 2)