QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#670749#4432. Jungle TrailGuanYunchangAC ✓3051ms570164kbC++233.7kb2024-10-24 00:07:572024-10-24 00:07:59

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3051ms
memory: 570164kb

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
TT
TT
DP
TAK
NN
TT
DP
TAK
NN
TT
PD
TAK
TN
NT
PD
TAK
NT
TT
DP
TAK
NT
NT
DP
NIE
TAK
TN
NT
DP
TAK
TT
NT
DP
TAK
NT
NT
DP
NIE
TAK
TTNNTTTTNN
NNTTNNNNTT
PDDDPPDDDDPPDPDPPP
TAK
NTTTNTNNNT
NTTTNTNNNT
DDDDDPDDDPPPPPPDPP
TAK
NNNTNTTTNT
NNTTTTTNNT
DDDPPDPDDDDDPPPPPP
TAK
NNNTNNNTNT
NN...

result:

ok ac (486 test cases)

Extra Test:

score: 0
Extra Test Passed