#BZOJ2990. Keyboard

Keyboard

题目描述

3 3
ytr
hgf
dsa
.--
|||
|||
2