#include #include bool bz[20][20]; int ans; int n,m; void mark(int x,int y) { for(int i=x-1;i=0 && i=0 && j