QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#298183#4432. Jungle Trailucup-team2880#WA 1939ms470984kbC++204.5kb2024-01-05 19:28:442024-01-05 19:28:44

詳細信息

Test #1:

score: 0
Wrong Answer
time: 1939ms
memory: 470984kb

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
PDPDDPP
TAK
NN
NT
D
TAK
NN
TT
PD
TAK
NN
TT
PD
TAK
TN
NT
PD
TAK
TN
NT
PD
TAK
TN
NT
PD
TAK
TN
NT
PD
TAK
NN
TT
DP
TAK
NN
TT
DP
TAK
TN
TT
DP
NIE
TAK
NNTNNTTTTN
TTTNNTTNNT
PDPPPPPPPDDDDDPDDD
TAK
NNNTTTTNTN
NNTNTNTTNT
PPDDDPPDPDPPDDPDPD
TAK
NNNNTTTNTN
NNNTTNTTNT
PPDDPPPDPDPPDDDDPD
TAK
NNNNT...

result:

wrong answer the length of the third line should be 2 (test case 2)