QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#394511 | #7751. Palindrome Path | _happy_ | WA | 1ms | 5844kb | C++14 | 2.7kb | 2024-04-20 15:31:38 | 2024-04-20 15:31:39 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 1ms
memory: 3728kb
input:
2 2 11 11 1 1 2 2
output:
DRUDLUULDURD
result:
ok Valid Solution (Length = 12).
Test #2:
score: 0
Accepted
time: 0ms
memory: 3752kb
input:
2 2 10 01 1 1 2 2
output:
-1
result:
ok No Solution.
Test #3:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
1 1 1 1 1 1 1
output:
result:
ok Valid Solution (Length = 0).
Test #4:
score: 0
Accepted
time: 0ms
memory: 3780kb
input:
5 4 1111 1111 1111 1111 1111 4 2 4 2
output:
ULDDDDRUURDDUUUUDDLDDLLUUUUDDDDRUUUURDDRUUUURDDDDUUUULLDDLDDUUUUDDRUURDDDDLU
result:
ok Valid Solution (Length = 76).
Test #5:
score: 0
Accepted
time: 1ms
memory: 5844kb
input:
5 5 11111 10101 11111 10101 11111 1 4 5 5
output:
DDDDRRUULRUURRDDLRDDLRUUUULLLRDDDDLLUUUUDDDDRRUUUURRDDDDUUUULLDDDDRLLLUUUURLDDRLDDRRUURLUURRDDDD
result:
ok Valid Solution (Length = 96).
Test #6:
score: 0
Accepted
time: 0ms
memory: 3752kb
input:
5 3 111 100 111 001 111 4 3 3 2
output:
RDDLLRRUULLUURRLLDDRRDDLLRRUULLUURRLLDDR
result:
ok Valid Solution (Length = 40).
Test #7:
score: 0
Accepted
time: 0ms
memory: 3780kb
input:
5 4 1001 1101 1111 0011 0010 2 2 1 1
output:
UULLULDDDUUURUDDRDURDDUUDLULUUDDRRDDUULULDUUDDRUDRDDURUUUDDDLULLUU
result:
ok Valid Solution (Length = 66).
Test #8:
score: 0
Accepted
time: 0ms
memory: 3724kb
input:
5 3 101 111 100 111 100 4 1 2 2
output:
RDUUULLRRUDDDLLDURRUULLUURRUDLLDDDURRLLUUUDR
result:
ok Valid Solution (Length = 44).
Test #9:
score: 0
Accepted
time: 1ms
memory: 5808kb
input:
5 5 01110 10110 11110 11011 11100 2 4 5 1
output:
DDLLDDRLLUUULRDDDRUURUULRDDRDUUUDDLLDDUURUUDDLLDDUURUUDDLLDDUUUDRDDRLUURUURDDDRLUUULLRDDLLDD
result:
ok Valid Solution (Length = 92).
Test #10:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
5 3 011 111 110 111 011 3 1 2 1
output:
UULDDDLUDRUUUULDURDRDDUUDLDRUULUDDDDULUURDLDUUDDRDRUDLUUUURDULDDDLUU
result:
ok Valid Solution (Length = 68).
Test #11:
score: 0
Accepted
time: 1ms
memory: 5824kb
input:
4 5 11111 11111 11111 11111 3 2 1 3
output:
UUURDDDRUUUDDDLUUULLDDDLUUUDDDRUUURDDDDDDRUUURDDDUUULDDDLLUUULDDDUUURDDDRUUU
result:
ok Valid Solution (Length = 76).
Test #12:
score: 0
Accepted
time: 1ms
memory: 5712kb
input:
5 5 11111 10101 11111 10101 11111 2 5 1 1
output:
UUUULLDDRLDDRLLLUURLUURLDDDDRRUUUURRDDDDUUUULLDDDDLLUUUUDDDDRRUUUURRDDDDLRUULRUULLLRDDLRDDLLUUUU
result:
ok Valid Solution (Length = 96).
Test #13:
score: 0
Accepted
time: 0ms
memory: 3716kb
input:
4 5 11111 10000 11111 00001 1 3 4 5
output:
DRRRRDDLLLLRRRRUULLLLUDRRRRDDUUDDRRRRDULLLLUURRRRLLLLDDRRRRD
result:
ok Valid Solution (Length = 60).
Test #14:
score: 0
Accepted
time: 0ms
memory: 3684kb
input:
3 5 10100 00010 00111 1 3 1 1
output:
-1
result:
ok No Solution.
Test #15:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
4 5 10001 11111 11100 11111 4 5 3 1
output:
ULDDRDULLLLDURRUULLRRDDRUURDDLUULLUULDDRUURDDRRLLUURRUDLLLLUDRDDLU
result:
ok Valid Solution (Length = 66).
Test #16:
score: 0
Accepted
time: 0ms
memory: 3656kb
input:
3 5 11111 10100 11111 1 2 3 5
output:
RRDDRRUULRDDLLLLRRUULLRRDDRRLLUURRLLLLDDRLUURRDDRR
result:
ok Valid Solution (Length = 50).
Test #17:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
4 5 01110 10101 11011 10111 1 3 2 3
output:
-1
result:
ok No Solution.
Test #18:
score: 0
Accepted
time: 0ms
memory: 3744kb
input:
5 5 11111 11111 11111 11111 11111 1 3 5 2
output:
DDDDRUUUUDDDDLLUUUULDDDDLUUUUDDDDRUUUURDDDDRUUUUDDDDLUUUULDDDDUUUURDDDDRUUUURDDDDUUUULDDDDLUUUULLDDDDUUUURDDDD
result:
ok Valid Solution (Length = 110).
Test #19:
score: 0
Accepted
time: 0ms
memory: 3684kb
input:
5 5 11111 10101 11111 10101 11111 5 1 2 3
output:
UUULLDDRLDDRRRRUULRUULRDDDDLLLLUUUURRDDDDRRUUUULLDDDDLLUUUURRDDDDRRUUUULLLLDDDDRLUURLUURRRRDDLRDDLLUUU
result:
ok Valid Solution (Length = 102).
Test #20:
score: 0
Accepted
time: 1ms
memory: 5708kb
input:
5 5 11111 10000 11111 00001 11111 4 5 5 3
output:
RRLLLLDDRRRRDDLLLLRRRRUULLLLUURRLLDDRRRRDDLLRRUULLLLUURRRRLLLLDDRRRRDDLLLLRR
result:
ok Valid Solution (Length = 76).
Test #21:
score: 0
Accepted
time: 0ms
memory: 3736kb
input:
5 5 01010 10101 10101 11001 10011 4 1 5 4
output:
-1
result:
ok No Solution.
Test #22:
score: 0
Accepted
time: 1ms
memory: 5692kb
input:
5 5 10101 11111 10101 11111 11111 3 1 2 4
output:
LDUUUURDRURDRDDLLDUUDRRDUUUUDLULDLULDDDRRDUUUUDRRDDDLULDLULDUUUUDRRDUUDLLDDRDRURDRUUUUDL
result:
ok Valid Solution (Length = 88).
Test #23:
score: 0
Accepted
time: 1ms
memory: 5724kb
input:
5 5 00001 11111 01110 01111 01111 1 5 5 2
output:
DDDRLLUUULDLUDRDDLDURUUURDDDRUUUDDDUULDDUUURDDDUUULDDDUULUDLUDRDDRUUDLUULDUURDDRDULDULUUDDDLUUUDDDRUUUDDLUUDDDUUURDDDRUUURUDLDDRDULDLUUULLRDDD
result:
ok Valid Solution (Length = 142).
Test #24:
score: 0
Accepted
time: 0ms
memory: 3700kb
input:
5 5 01011 10111 11011 10101 01110 4 1 2 3
output:
-1
result:
ok No Solution.
Test #25:
score: 0
Accepted
time: 1ms
memory: 4004kb
input:
10 8 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111 7 7 3 6
output:
UUUUUUULDDDDDDDDDRURUUUUUUUURDDDDDDDDDRUUUUUUUUURDDDDDDDDDRUUUUUUUUUDDDDDDDDDLUUUUUUUUULDDDDDDDDDLLRUUUUUUUUULDDDDDDDDLDLLUUUUUUUUUDDDDDDDDDRUUUUUUUUURDDDDDDDDDDDDDDRUUUUUUUUURDDDDDDDDDUUUUUUUUULLDLDDDDDDDDLUUUUUUUUURLLDDDDDDDDDLUUUUUUUUULDDDDDDDDDUUUUUUUUURDDDDDDDDDRUUUUUUUUURDDDDDDDDDRUUUUUUUURURD...
result:
ok Valid Solution (Length = 316).
Test #26:
score: -100
Wrong Answer
time: 1ms
memory: 5720kb
input:
10 6 111111 101010 111111 101010 111111 101010 111111 101010 111111 101010 1 6 2 3
output:
UUUUUUULLLRDDRLLRDDRLLRDDRLLRDDRRRRUULRUULRUULRUULRUDDDDDDDDDLLLLLRUUUUUUUUUDRRUDDDDDDDDDDDDDDDDURRDUUUUUUUUURLLLLLDDDDDDDDDURLUURLUURLUURLUURRRRDDRLLRDDRLLRDDRLLRDDRLLLUUUUUUU
result:
wrong answer (10,3) Not Visited