QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#233266#3816. Home alone: Johnny lost in New YorkMaMengQiWA 1ms3080kbC++147.7kb2023-10-31 15:52:502023-10-31 15:52:51

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4 4
1 1
1 4

output:

PPPDLLLDPPPDLLL

result:

ok correct path

Test #2:

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

input:

4 4
3 2
2 3

output:

NIE

result:

ok no solution

Test #3:

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

input:

5 5
1 2
1 4

output:

NIE

result:

ok no solution

Test #4:

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

input:

6 6
1 1
1 4

output:

PPPPPDLLLLLDPPPPPDLLLLDPPPPDLLLLLGG

result:

ok correct path

Test #5:

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

input:

4 5
2 3
3 5


output:

PPGGLDLGLDDDPPPDLLLPP

result:

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