QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#394521#7751. Palindrome Pathyoy68WA 0ms3896kbC++142.7kb2024-04-20 15:37:432024-04-20 15:37:45

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3872kb

input:

2 2
11
11
1 1 2 2

output:

RDRLRDURLRDRLRUDRLRDR

result:

ok Valid Solution (Length = 21).

Test #2:

score: 0
Accepted
time: 0ms
memory: 3764kb

input:

2 2
10
01
1 1 2 2

output:

-1

result:

ok No Solution.

Test #3:

score: 0
Accepted
time: 0ms
memory: 3864kb

input:

1 1
1
1 1 1 1

output:


result:

ok Valid Solution (Length = 0).

Test #4:

score: -100
Wrong Answer
time: 0ms
memory: 3896kb

input:

5 4
1111
1111
1111
1111
1111
4 2 4 2

output:

LLRRLLLRRRUDDRLLRLLRLLDUDDUULRLLRRLLLRRRDDDUUURLLRLLRLLDDDUUUULRLLRRLLLRRRRLLRLLRLLUDLRLLRRLLLRRRUDDRLLRLLRLLUDDUDDLRLLRRLLLRRRDURLLRLLLLRLLRUDRRRLLLRRLLRLDDUDDULLRLLRLLRDDURRRLLLRRLLRLDULLRLLRLLRRRRLLLRRLLRLUUUUDDDLLRLLRLLRUUUDDDRRRLLLRRLLRLUUDDUDLLRLLRLLRDDURRRLLLRRLL

result:

wrong answer End Point Is (4,1), Not (er = 4, ec = 2)