QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#233302#3816. Home alone: Johnny lost in New YorkZhangYiDeWA 0ms4064kbC++148.0kb2023-10-31 16:12:082023-10-31 16:12:08

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4 4
1 1
1 4

output:

PPPDLLLDPPPDLLL

result:

ok correct path

Test #2:

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

input:

4 4
3 2
2 3

output:

NIE

result:

ok no solution

Test #3:

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

input:

5 5
1 2
1 4

output:

NIE

result:

ok no solution

Test #4:

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

input:

6 6
1 1
1 4

output:

PPPPPDLLLLLDPPPPPDLLLLDPPPPDLLLLLGG

result:

ok correct path

Test #5:

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

input:

4 5
2 3
3 5


output:

GGLDDDDPGPGGGPDDDDL

result:

ok correct path

Test #6:

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

input:

4 6
1 2
2 5

output:

NIE

result:

ok no solution

Test #7:

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

input:

6 6
1 5
4 5

output:

LLLLPPPPPDLLLLLDPPPPPDDDLGLDLGLDLGGPPPP

result:

wrong answer the length of your output is 39, but expected 35