QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#662170#4432. Jungle TrailZhaoZiLongML 0ms0kbC++232.0kb2024-10-20 21:41:252024-10-20 21:41:25

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Memory Limit Exceeded

input:

486
4 5
..#..
@@O@@
##@#O
..@.@
2 2
OO
OO
2 2
@@
@@
2 2
@@
#@
2 2
@O
#@
2 2
@@
OO
2 2
O#
@O
2 2
@#
#@
2 2
@.
.@
2 2
@#
.O
2 2
OO
.O
10 10
@O@O#O@@@#
OO#@#@@#OO
#@#@#O##O@
OO##@@O#@O
O##@@#@O#@
OO@OO@@@O@
@O#@#@O#@O
@OOOOO@##.
O@OOO##O@@
OO@@OOOO#@
10 10
@@#OOO#O@@
#@@OO@@.O@
#.O@@O#@@O
OO@@#O@#O@
.#...

output:

NNTT
NTNNN
PDPDDPP
NN
NN
DP
TT
NN
DP
NN
TT
PD
NT
TN
PD
TN
NN
DP
NT
NT
DP
NIE
TT
NN
DP
TT
NT
DP
NT
NT
DP
NIE
NNTNNTTTNT
TTTNNTTTNN
PDPPPPPPPDDDDDDDDP
NNNTTTNTNN
NNTNTNTNTN
PPDDDPPDPDPPDDPDDP
NTNNTTTNNT
NNNTTNTTNT
PPDDPPPDPDPPDDDDDP
NTTTNTNTNT
NTNNNTTTTT
PPDDDDPPDDDPPPPPDD
NIE
NTTTTNNTTT
TTTTTNTNNN
PD...

result: