QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#316079#7751. Palindrome PathRegister#WA 1ms3812kbC++141.3kb2024-01-27 17:17:432024-01-27 17:17:43

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2 2
11
11
1 1 2 2

output:

RDRLLRDUURLLRDRLLRUUDRLLRDR

result:

ok Valid Solution (Length = 27).

Test #2:

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

input:

2 2
10
01
1 1 2 2

output:

-1

result:

ok No Solution.

Test #3:

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

input:

1 1
1
1 1 1 1

output:


result:

ok Valid Solution (Length = 0).

Test #4:

score: -100
Wrong Answer
time: 1ms
memory: 3620kb

input:

5 4
1111
1111
1111
1111
1111
4 2 4 2

output:

RLRDLLLUULLLRRRRLRLRDULLLDULLLRRRRLRLRLLLDLLLRRRRLRLRDLLLDDLLLRRRRLRLRDDDDUUUUULLLRLRDLLLLLDRLRLLLUUUUUDDDDRLRLRRRRLLLDDLLLDRLRLRRRRLLLDLLLRLRLRRRRLLLUDLLLUDRLRLRRRRLLLUULLLDRLR

result:

wrong answer (2,3) Not Visited