随后n行,每行有m个字符,用来描述图纸 。每个字符只可能是‘.’或‘X’。
对于10%的数据,n=1,m<=30;
对于40%的数据,n<=10,m<=30;
对于100%的数据,n<=100,m<=100。
2 3 ..X .X.
4
jackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjack