QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#394315#7751. Palindrome Pathy0y68WA 0ms4012kbC++144.2kb2024-04-20 11:37:492024-04-20 11:37:49

詳細信息

Test #1:

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

input:

2 2
11
11
1 1 2 2

output:

DRRRLLDURRLLDRRDLLRRUDLLRRRD

result:

ok Valid Solution (Length = 28).

Test #2:

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

input:

2 2
10
01
1 1 2 2

output:

-1

result:

ok No Solution.

Test #3:

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

input:

1 1
1
1 1 1 1

output:

RR

result:

ok Valid Solution (Length = 2).

Test #4:

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

input:

5 4
1111
1111
1111
1111
1111
4 2 4 2

output:

LLRRRLRLLDULLRRRLLRRLRUDDUDDRLLRLRLLUDDLLRRRLLRRLRUDRLLRLRLLLLRRRLLRRLRDDDUUUURLLRLRLLDDDUUULLRRRLLRRLRDDUUDURLLRLRLLUDDLLRRRLLRRRRLLRRRLLDDULLRLRLLRUDUUDDRLRRLLRRRLLUUUDDDLLRLRLLRUUUUDDDRLRRLLRRRLLLLRLRLLRDURLRRLLRRRLLDDULLRLRLLRDDUDDURLRRLLRRRLLUDLLRLRRRLL

result:

wrong answer (2,3) Not Visited