QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#233300#3816. Home alone: Johnny lost in New YorkZhaoZiLongWA 1ms3188kbC++148.0kb2023-10-31 16:11:082023-10-31 16:11:08

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4 4
1 1
1 4

output:

PPPDLLLDPPPDLLL

result:

ok correct path

Test #2:

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

input:

4 4
3 2
2 3

output:

NIE

result:

ok no solution

Test #3:

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

input:

5 5
1 2
1 4

output:

NIE

result:

ok no solution

Test #4:

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

input:

6 6
1 1
1 4

output:

PPPPPDLLLLLDPPPPPDLLLLDPPPPDLLLLLGG

result:

ok correct path

Test #5:

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

input:

4 5
2 3
3 5


output:

PGGGGLDDDLDLGGGGPDD

result:

wrong answer the endpoint of your path is (1, 1), but expected (3, 5)