📄 12-1.c
字号:
/*12-1.c*/
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
#include<dos.h>
#include<graphics.h>
#define OK 0
#define ERROR 0
#define TRUE 1
#define FALSE 0
#define OVERFLOW 1
typedef struct{
int x;
int y;
}postype;
typedef struct{
int ord;
postype seat;
int di;
}selemtype;
typedef struct{
int td;
int foot;
int mark;
}mazetype;
mazetype maze[20][20]={{{-1},{1},{-1},{-1},{-1},{-1},{-1},{-1},{-1},{-1}},
{{-1},{1},{1},{-1},{1},{1},{1},{-1},{1},{-1}},
{{-1},{1},{1},{-1},{1},{1},{1},{-1},{1},{-1}},
{{-1},{1},{1},{1},{1},{-1},{-1},{1},{1},{-1}},
{{-1},{1},{-1},{-1},{-1},{1},{1},{1},{1},{-1}},
{{-1},{1},{1},{1},{-1},{1},{1},{1},{1},{-1}},
{{-1},{1},{-1},{1},{1},{1},{-1},{1},{1},{-1}},
{{-1},{1},{-1},{-1},{-1},{1},{-1},{-1},{1},{-1}},
{{-1},{-1},{1},{1},{1},{1},{1},{1},{1},{1}},
{{-1},{-1},{-1},{-1},{-1},{-1},{-1},{-1},{-1},{-1}}};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -