QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#394143#7751. Palindrome PathjlgxyWA 1ms7772kbC++173.1kb2024-04-20 08:34:062024-04-20 08:34:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 5684kb

input:

2 2
11
11
1 1 2 2

output:

DRUDLUDRRDULDURD

result:

ok Valid Solution (Length = 16).

Test #2:

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

input:

2 2
10
01
1 1 2 2

output:

-1

result:

ok No Solution.

Test #3:

score: 0
Accepted
time: 1ms
memory: 5616kb

input:

1 1
1
1 1 1 1

output:



result:

ok Valid Solution (Length = 0).

Test #4:

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

input:

5 4
1111
1111
1111
1111
1111
4 2 4 2

output:

UULDDDRRUUURDDDRUUUDDDLUUULDDDLLUUURDDLRRDUULRRDUUUUDRRLUUDRRLDDRUUULLDDDLUUULDDDUUURDDDRUUURRDDDLUU

result:

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