![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
小代码
文章平均质量分 72
LittleQiang01
这个作者很懒,什么都没留下…
展开
-
C语言,输出杨辉三角
#include "stdio.h" #include "stdlib.h" void yanghui_num(int * yanghui, int n); int yh_one_num(int n, int i); int main(void) { int n; int i,j; printf("请输入要输出杨辉三角的行数:"); scanf("%d",原创 2015-05-16 11:01:54 · 763 阅读 · 0 评论 -
广度优先搜索迷宫路径算法的实现
#include "stdio.h" #define COL 10 #define ROW 10 #define BOOL int #define TRUE 1 #define FALSE 0 typedef struct plot { int col; int row; }Plot; int Maze[COL][ROW] = { {1,1,1,1,原创 2015-05-16 11:01:57 · 491 阅读 · 0 评论 -
深度优先搜索迷宫路径算法的实现
#include "stdio.h" #define ROW 8 #define COL 8 int Maze[COL][ROW] = { {1,1,1,1,1,1,1,1}, {0,0,0,0,0,0,0,1}, {1,0,1,0,1,1,0,1},原创 2015-05-16 11:02:00 · 450 阅读 · 0 评论