QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#394153#7751. Palindrome PathjlgxyTL 1ms5656kbC++173.2kb2024-04-20 08:56:002024-04-20 08:56:02

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2 2
11
11
1 1 2 2

output:

RDLRULRDDRLURLDR

result:

ok Valid Solution (Length = 16).

Test #2:

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

input:

2 2
10
01
1 1 2 2

output:

-1

result:

ok No Solution.

Test #3:

score: -100
Time Limit Exceeded

input:

1 1
1
1 1 1 1

output:


result: