QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#42638#4432. Jungle TrailGuanYunchangAC ✓4633ms866216kbJava113.3kb2022-08-03 02:28:412022-08-03 02:28:44

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 4633ms
memory: 866216kb

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
TNTT
TTNNN
DPPDDPP
TAK
TT
TT
DP
TAK
TT
NN
DP
TAK
TT
NN
PD
TAK
NT
TN
PD
TAK
NT
TT
DP
TAK
NT
NT
DP
NIE
TAK
TT
NN
PD
TAK
NN
TN
DP
TAK
TT
TT
PD
NIE
TAK
TTNNTTTTNT
NNTTNNTTNN
PDDDPPDDDDPPDDPPPP
TAK
TNNNTNTTTT
TNNNTNTNNT
DDDDDPDDDPPPPPDPPP
TAK
NNNTNTTTNT
NNTTTTTNNT
DDDPPDPDDDDDPPPPPP
TAK
NNNTNNNTNT
NN...

result:

ok ac (486 test cases)

Extra Test:

score: 0
Extra Test Passed