QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#233295#3816. Home alone: Johnny lost in New YorkZhangYiDeWA 0ms4028kbC++148.0kb2023-10-31 16:09:272023-10-31 16:09:27

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4 4
1 1
1 4

output:

PPPDLLLDPPPDLLL

result:

ok correct path

Test #2:

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

input:

4 4
3 2
2 3

output:

NIE

result:

ok no solution

Test #3:

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

input:

5 5
1 2
1 4

output:

NIE

result:

ok no solution

Test #4:

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

input:

6 6
1 1
1 4

output:

PPPPPDLLLLLDPPPPPDLLLLDPPPPDLLLLLGG

result:

ok correct path

Test #5:

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

input:

4 5
2 3
3 5


output:

PPGGLDLGLDDDPPPDLLLPP

result:

wrong answer the length of your output is 21, but expected 19