摘要:
#include<stdio.h>#include<string.h>const int maxn = 12;//the size of the mazeint a[ maxn ][ maxn ];const int dx[]={0,1,0,-1};const int dy[]={1,0,-1,0};bool inside( int x,int y,int n ){ if( x>=0&&x<n&&y>=0&&y<n ) return true; else return false;}int main 阅读全文