From 35f9051b9ccd32459b1c355b603fe0a5a17ed232 Mon Sep 17 00:00:00 2001 From: KiritoTRw <3021577574@qq.com> Date: Thu, 28 Apr 2016 09:07:13 +0800 Subject: [PATCH] Create 1230.c --- QUSTOJ/1230.c | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 QUSTOJ/1230.c 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