diff --git a/QUSTOJ/1230.c b/QUSTOJ/1230.c new file mode 100644 index 0000000..22d5e5a --- /dev/null +++ b/QUSTOJ/1230.c @@ -0,0 +1,83 @@ +#include +#include +#include +int map[90][90]; +int vis[90][90]; +void reset_map(int incmaxx,int incmaxy) +{ + memset(map,0,sizeof(int)*90*90); + memset(vis,0,sizeof(int)*90*90); + int i; + for(i=0;i0;all--) + { + scanf("%d %d%*c",&maxx,&maxy); + reset_map(maxx,maxy); + for(i=0;i