QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#122606#4432. Jungle Trailnew_dawn_2#AC ✓484ms70176kbC++172.8kb2023-07-10 20:04:172023-07-10 20:04:18

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 484ms
memory: 70176kb

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
NT
TN
PD
TAK
NT
TT
DP
TAK
NT
NT
DP
NIE
TAK
NN
TT
DP
TAK
NN
TN
DP
TAK
NN
NN
DP
NIE
TAK
NNNTNNNNTN
TTNNNTNNTT
PDDDPPDDDDPPDDPPPP
TAK
NTTTNTNNNN
NTTTNTNTTN
DDDDDPDDDPPPPPDPPP
TAK
NNNTNTTTNT
NNTTTTTNNT
DDDPPDPDDDDDPPPPPP
TAK
NNNTNNNTNT
NN...

result:

ok ac (486 test cases)

Extra Test:

score: 0
Extra Test Passed