QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#297432#4432. Jungle Trailucup-team1005#AC ✓196ms85260kbC++202.3kb2024-01-04 14:06:532024-01-04 14:06:53

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 196ms
memory: 85260kb

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
TTNTN
DPPDDPP
TAK
NN
NN
DP
TAK
TT
NN
DP
TAK
TT
NN
PD
TAK
NT
TN
PD
TAK
TN
NN
DP
TAK
TN
TN
DP
NIE
TAK
NT
TN
DP
TAK
NN
TN
DP
TAK
TN
TN
DP
NIE
TAK
TTTNTTTTNT
NNTTTNTTNN
PDDDPPDDDDPPDDPPPP
TAK
NTTTNTNNNN
NTTTNTNTTN
DDDDDPDDDPPPPPDPPP
TAK
TTTNTNNNTN
TTNNNNNTTN
DDDPPDPDDDDDPPPPPP
TAK
TTTNTTTNTN
TT...

result:

ok ac (486 test cases)

Extra Test:

score: 0
Extra Test Passed