#include int main() { int n; scanf("%d",&n); int Map[n][n]={0},x=0,y=0,i=1,j; for(j=0;j=0) { if(y=0) { if(x