隨后n行,每行有m個字符,用來描述圖紙 。每個字符只可能是‘.’或‘X’。
對于10%的數(shù)據(jù),n=1,m<=30;
對于40%的數(shù)據(jù),n<=10,m<=30;
對于100%的數(shù)據(jù),n<=100,m<=100。
2 3 ..X .X.
4
jackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjackjack