隨后n行,每行有m個(gè)字符,用來(lái)描述圖紙 。每個(gè)字符只可能是‘.’或‘X’。
對(duì)于10%的數(shù)據(jù),n=1,m<=30;
對(duì)于40%的數(shù)據(jù),n<=10,m<=30;
對(duì)于100%的數(shù)據(jù),n<=100,m<=100。
2 3 ..X .X.
4
2018年真題精選
2194,2276,2277,2279,2280,2281,2282,2283,2284,2285,2286,2287,
2288,2291,2292,2294,2296
2194,2276,2277,2279,2280,2281,2282,2283,2284,2285,2286,2287,
2288,2291,2292,2294,2296