//No.179 塗り分け 解説 import java.util.*; import java.io.*; import static java.util.Arrays.*; import static java.lang.Math.*; public class No179 { static final Reader in = new Reader(); static final PrintWriter out = new PrintWriter(System.out,false); static void solve(){ int h = in.nextInt(); int w = in.nextInt(); int cnt = 0; char[][] cs = new char[h][w]; for (int i=0; i