代码搜索:递归回溯

找到约 2,805 项符合「递归回溯」的源代码

代码结果 2,805
www.eeworm.com/read/380114/9162277

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/380114/9163694

txt erfenfa1.txt

//二分查找法(递归调用)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/378375/9233331

java fac2_1.java

//本程序取自王晓东编著“算法分析与设计”第 20 页,例2-1 //递归法计算阶乘 public class Fac2_1{ public static int Factorial(int n) { if(n==0)return 1; return n*Factorial(n-1); } public static void main(Strin
www.eeworm.com/read/378375/9233336

java fac3_1_1.java

//本程序取自王晓东编著“算法分析与设计”第 68 页,例 //矩阵连乘问题递归直接计算法 public class Fac3_1_1{ static int p[]; static int s[][]; public Fac3_1_1(int a[],int c[][]) { p=a; s=c; } public stat
www.eeworm.com/read/378375/9233345

java mergesort2_7_1.java

//本程序取自王晓东编著“算法分析与设计”第 35 页,例 //合并排序的递归解法 class mergeSort2_7_1 { public static void mergeSort(int [] a,int left,int right) { int b[]=new int[a.length]; if(left
www.eeworm.com/read/378375/9233357

java mergesort2_7_1.java

//本程序取自王晓东编著“算法分析与设计”第 35 页,例 //合并排序的递归解法 class mergeSort2_7_1 { public static void mergeSort(int [] a,int left,int right) { int b[]=new int[a.length]; if(left
www.eeworm.com/read/378375/9233523

java fac2_1.java

//本程序取自王晓东编著“算法分析与设计”第 20 页,例2-1 //递归法计算阶乘 public class Fac2_1{ public static int Factorial(int n) { if(n==0)return 1; return n*Factorial(n-1); } public static void main(Strin
www.eeworm.com/read/378375/9233525

java fac3_1_1.java

//本程序取自王晓东编著“算法分析与设计”第 68 页,例 //矩阵连乘问题递归直接计算法 public class Fac3_1_1{ static int p[]; static int s[][]; public Fac3_1_1(int a[],int c[][]) { p=a; s=c; } public stat
www.eeworm.com/read/378375/9233531

java mergesort2_7_1.java

//本程序取自王晓东编著“算法分析与设计”第 35 页,例 //合并排序的递归解法 class mergeSort2_7_1 { public static void mergeSort(int [] a,int left,int right) { int b[]=new int[a.length]; if(left
www.eeworm.com/read/180558/9302800

c algo3-9.c

/* algo3-9.c 用递归函数求解迷宫问题(求出所有解) */ #include /* 根据《PASCAL程序设计》(郑启华编著)中的程序改编 */ struct PosType /* 迷宫坐标位置类型 */ { int x; /* 行值 */ int y; /* 列值 */ }; #define MAXLENGTH 25 /* 设