代码搜索:递归回溯
找到约 2,805 项符合「递归回溯」的源代码
代码结果 2,805
www.eeworm.com/read/101790/15807729
htm subject_37866.htm
序号:37866 发表者:夏乾坤 发表日期:2003-04-29 00:05:43
主题:我做的递归 帮我看看我的代码哪里有错?
内容: CInternetSession cInternet; CFtpConnection* cFtpcon; &nbs
www.eeworm.com/read/117743/14906345
cpp 9_3.cpp
/*第6题 词组匹配
3.3.1 课程设计的程序功能简介:
词组匹配。用比递归方法更快的非递归的变形函数,找一个英文词与另外一个英文词匹配的最短通路。
3.3.2 课程设计的任务要求:
(1)改程序中的相关函数,使本程序既适用于找英文词与英文词又适用于找中文字或词与中文字或词匹配的最短通路;
(2)可自行扩充本程序功能,使本程序功能更强。
3.3.3 课程设计的 ...
www.eeworm.com/read/191861/8419133
cpp erfenfa1.cpp
//二分查找法(递归调用)erfenfa1.cpp
#include
#include
float a[]={1.1,1.3,1.5,1.7,1.9,2.1,2.3,2.5,2.7,2.9};
void binsrch(int s,int r,float x)
{int m;
m=(s+r)/2;
if(a[m]==x)
{co
www.eeworm.com/read/289577/8542748
c algo3-9.c
/* algo3-9.c 用递归函数求解迷宫问题(求出所有解) */
#include /* 根据《PASCAL程序设计》(郑启华编著)中的程序改编 */
struct PosType /* 迷宫坐标位置类型 */
{
int x; /* 行值 */
int y; /* 列值 */
};
#define MAXLENGTH 25 /* 设
www.eeworm.com/read/287904/8662838
c algo3-9.c
/* algo3-9.c 用递归函数求解迷宫问题(求出所有解) */
#include /* 根据《PASCAL程序设计》(郑启华编著)中的程序改编 */
struct PosType /* 迷宫坐标位置类型 */
{
int x; /* 行值 */
int y; /* 列值 */
};
#define MAXLENGTH 25 /* 设
www.eeworm.com/read/431296/8690661
c 6.43.c
6.43③ 编写递归算法,将二叉树中所有结点的
左、右子树相互交换。
要求实现下列函数:
void Exchange(BiTree &bt);
/* Exchange the left and right leaves of */
/* bitree whose root node is bt */
二叉链表类型定义:
typedef struct BiT
www.eeworm.com/read/431296/8690719
c 6.41.c
6.41③ 编写递归算法,在二叉树中求位于先序序列中
第k个位置的结点的值。
要求实现下列函数:
TElemType PreOrder(BiTree bt, int k);
/* bt is the root node of a binary linked list, */
/* Preorder travel it and find the node whose */
/*
www.eeworm.com/read/386033/8770727
m iir.m
%%%%%%%%%%%%%%%%%%%% 绘制基于LMS算法IIR递归结构自适应滤波器权系数的过度图
%%%%%%%%%%%%%%%%%%%% 序列由零均值、单位方差的白噪声通过一个ARMA(2,2)模型产生
%%%%%%%%%%%%%%%%%%%% 参数输入 %%%%%%%%%%%%%%%%%%%%
clc;
clear all;
m = 500; % 迭代次数
M = d
www.eeworm.com/read/384841/8839403
c algo3-9.c
/* algo3-9.c 用递归函数求解迷宫问题(求出所有解) */
#include /* 根据《PASCAL程序设计》(郑启华编著)中的程序改编 */
struct PosType /* 迷宫坐标位置类型 */
{
int x; /* 行值 */
int y; /* 列值 */
};
#define MAXLENGTH 25 /* 设
www.eeworm.com/read/183618/9148289
c algo3-9.c
/* algo3-9.c 用递归函数求解迷宫问题(求出所有解) */
#include /* 根据《PASCAL程序设计》(郑启华编著)中的程序改编 */
struct PosType /* 迷宫坐标位置类型 */
{
int x; /* 行值 */
int y; /* 列值 */
};
#define MAXLENGTH 25 /* 设