#include #include const int N=505; const int MAX=1<<28; int n,m; struct Node{int x,y;}; Node a[N],b[N];//住房 士兵 int f[N][N]; int mymin (int x,int y){return xb.x&&a.x>c.x) return true; if (a.xb.y&&a.y>c.y) return true; if (a.ym) printf("ToT\n"); else printf("%d\n",m-ans); } return 0; }