diff --git a/v6.c b/迷宫.c similarity index 83% rename from v6.c rename to 迷宫.c index 897c205..71044d6 100644 --- a/v6.c +++ b/迷宫.c @@ -263,3 +263,53 @@ void chu() map[i][j]=2; make(i,j); } +//µÃµ½·½Î»ÇÒ¿ÉÅжÏÊÇ·ñÓÐÓÐЧÁÚ¾Ó(¿ÉÍÚ¾òµÄ) +char des(int x1,int y1) +{ + char a[5]; + int k=0; + if(x1>1&&map[x1-2][y1]==1) a[k++]='w'; + if(x11&&map[x1][y1-2]==1) a[k++]='a'; + if(y1