QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#268685#4432. Jungle Trailhouzhiyuan#AC ✓169ms23268kbC++141.9kb2023-11-28 19:47:152023-11-28 19:47:15

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 169ms
memory: 23268kb

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
NTNT
NNTNN
PDPPPDD
TAK
NN
NN
PD
TAK
TT
NN
PD
TAK
TT
NN
PD
TAK
NT
TN
PD
TAK
TN
NN
PD
TAK
TN
TN
DP
NIE
TAK
NT
TN
PD
TAK
TN
NN
DP
TAK
NN
NN
PD
NIE
TAK
TTNTTNNNNT
NNNTTNNTTN
PDPPPPPPPDDDDDPDDD
TAK
TTTNNNNTNN
TTNTNTNNTN
PPDDDPPDPDPPDDPDPD
TAK
TTTTNNNTTN
TTTNNTNNTN
PPDDPPPDPDPPDDPDDD
TAK
TNNNTTTNTN
TN...

result:

ok ac (486 test cases)

Extra Test:

score: 0
Extra Test Passed