代码搜索:递归回溯
找到约 2,805 项符合「递归回溯」的源代码
代码结果 2,805
www.eeworm.com/read/206115/15299836
c algo3-9.c
/* algo3-9.c 用递归函数求解迷宫问题(求出所有解) */
#include /* 根据《PASCAL程序设计》(郑启华编著)中的程序改编 */
struct PosType /* 迷宫坐标位置类型 */
{
int x; /* 行值 */
int y; /* 列值 */
};
#define MAXLENGTH 25 /* 设
www.eeworm.com/read/202381/5052003
cpp 46.cpp
//4.6 递归下降分析法
#include "fstream.h"
#include "iostream.h"
#include "stdlib.h"
void E(void);void E1(void);void T(void);void T1(void);void F(void);//函数原型
struct code_val{char code;char val[20];} t;
www.eeworm.com/read/475726/6776406
cpp algo0705.cpp
//--- 算法7.4和7.5使用的全局变量 ---
bool visited[MAX_VERTEX_NUM]; // 访问标志数组
Status (* VisitFunc)(int v); // 函数变量
void DFS(Graph G, int v) { // 算法7.5
// 从第v个顶点出发递归地深度优先遍历图G。
int w;
visite
www.eeworm.com/read/472935/6860336
c algo3-9.c
/* algo3-9.c 用递归函数求解迷宫问题(求出所有解) */
#include /* 根据《PASCAL程序设计》(郑启华编著)中的程序改编 */
struct PosType /* 迷宫坐标位置类型 */
{
int x; /* 行值 */
int y; /* 列值 */
};
#define MAXLENGTH 25 /* 设
www.eeworm.com/read/392789/8325919
c algo3-9.c
/* algo3-9.c 用递归函数求解迷宫问题(求出所有解) */
#include /* 根据《PASCAL程序设计》(郑启华编著)中的程序改编 */
struct PosType /* 迷宫坐标位置类型 */
{
int x; /* 行值 */
int y; /* 列值 */
};
#define MAXLENGTH 25 /* 设
www.eeworm.com/read/173560/9651047
c algo3-9.c
/* algo3-9.c 用递归函数求解迷宫问题(求出所有解) */
#include /* 根据《PASCAL程序设计》(郑启华编著)中的程序改编 */
struct PosType /* 迷宫坐标位置类型 */
{
int x; /* 行值 */
int y; /* 列值 */
};
#define MAXLENGTH 25 /* 设
www.eeworm.com/read/368531/9690795
c algo3-9.c
/* algo3-9.c 用递归函数求解迷宫问题(求出所有解) */
#include /* 根据《PASCAL程序设计》(郑启华编著)中的程序改编 */
struct PosType /* 迷宫坐标位置类型 */
{
int x; /* 行值 */
int y; /* 列值 */
};
#define MAXLENGTH 25 /* 设
www.eeworm.com/read/269967/11053172
c algo3-9.c
/* algo3-9.c 用递归函数求解迷宫问题(求出所有解) */
#include /* 根据《PASCAL程序设计》(郑启华编著)中的程序改编 */
struct PosType /* 迷宫坐标位置类型 */
{
int x; /* 行值 */
int y; /* 列值 */
};
#define MAXLENGTH 25 /* 设
www.eeworm.com/read/411734/11230621
cpp algo0705.cpp
//--- 算法7.4和7.5使用的全局变量 ---
bool visited[MAX_VERTEX_NUM]; // 访问标志数组
Status (* VisitFunc)(int v); // 函数变量
void DFS(Graph G, int v) { // 算法7.5
// 从第v个顶点出发递归地深度优先遍历图G。
int w;
visite
www.eeworm.com/read/133132/14053998
cpp 5.cpp
//5.后序遍历的非递归算法
#define STACK_INIT_SIZE 100//存储空间初始分量
#define STACKINCREMENT 10//存储空间分配增量
#include
#include
#include
typedef struct BTNode
{ //定义树的存储结构
ch