QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#357878#4432. Jungle Trailucup-team138#RE 0ms0kbC++171.3kb2024-03-19 14:13:012024-03-19 14:13:01

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Runtime Error

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:

TAK
NTNN
NNTNT
DPPDDPP
TAK
NN
NN
DP
TAK
NN
TT
DP
TAK
NN
TT
PD
TAK
TN
NT
PD
TAK
TN
NN
DP
TAK
TN
TN
DP
NIE
TAK
TN
NT
DP
TAK
TN
NN
DP
TAK
NN
NN
DP
NIE
TAK
NNTTNNNNTN
TTTNNTNNTT
PDPPDDDDDDPPDDPPPP
TAK
NTTTTNTNNN
NNTNTTNTTN
DDDPPPPDDPPDDDDPPP
TAK
TNTNTNNNTN
TTTNNNNTTN
PPDDPDDDDDDDPPPPPP
TAK
TNNNTNTNTN
TN...

result: