QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#394400#7751. Palindrome Pathy0y68WA 0ms3844kbC++145.1kb2024-04-20 14:18:562024-04-20 14:18:57

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2 2
11
11
1 1 2 2

output:

RDDURLLDDURDDRUDDLLRUDDR

result:

ok Valid Solution (Length = 24).

Test #2:

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

input:

2 2
10
01
1 1 2 2

output:

-1

result:

ok No Solution.

Test #3:

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

input:

1 1
1
1 1 1 1

output:


result:

ok Valid Solution (Length = 0).

Test #4:

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

input:

5 4
1111
1111
1111
1111
1111
4 2 4 2

output:

LLRRLLRRRUDDDUDDUUDDDUUUDDDUUUUUDUDDUDDRLLUDDDUDDUUDDDUUUDDDUUUUUDUDDUDDRLRLLUDDDUDDUUDDDUUUDDDUUUUUDUDDUDDLRUDDDUDDUUDDDUUUDDDUUUUUDUDDUDDDDUDDUDUUUUUDDDUUUDDDUUDDUDDDURLDDUDDUDUUUUUDDDUUUDDDUUDDUDDDULLRLRDDUDDUDUUUUUDDDUUUDDDUUDDUDDDULLRDDUDDUDUUUUUDDDUUUDDDUUDDUDDDURRRLLRRLL

result:

wrong answer (1,3) Not Visited