代码搜索:递归回溯

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

代码结果 2,805
www.eeworm.com/read/134037/14011906

c 二进制数.c

/*递归法求二进制数*/ #include void printb(int x,int n); void main() { int x; printf("input number:"); scanf("%d",&x); printf("number of decimal form: %d\n",x);
www.eeworm.com/read/204479/15337777

c tree_preorder_rec.c

/* 树的后根周游的递归算法*/ #include #include #define MAXNUM 20 #define null -1 /* typedef int DataType; */ struct ParTreeNode { /*DataType info; 结点中的元素 */ int paren
www.eeworm.com/read/201037/15417870

cpp tower.cpp

#include void Towers(int n, char fromPeg, char auxPeg, char toPeg) // 把n个盘子从fromPeg借助auxPeg移至toPeg { if(n==1) //递归出口 { cout
www.eeworm.com/read/111298/15515018

cpp tower.cpp

#include void Towers(int n, char fromPeg, char auxPeg, char toPeg) // 把n个盘子从fromPeg借助auxPeg移至toPeg { if(n==1) //递归出口 { cout
www.eeworm.com/read/110336/15536316

java app6_12.java

// app6_12, 简单的递归method public class app6_12 { public static void main(String args[]) { System.out.println("1*2*..*4 = "+fac(4)); } public static int fac(int n) /
www.eeworm.com/read/110094/15541945

java app6_12.java

// app6_12, 简单的递归method public class app6_12 { public static void main(String args[]) { System.out.println("1*2*..*4 = "+fac(4)); } public static int fac(int n) /
www.eeworm.com/read/109219/15561751

c 二进制数.c

/*递归法求二进制数*/ #include void printb(int x,int n); void main() { int x; printf("input number:"); scanf("%d",&x); printf("number of decimal form: %d\n",x);
www.eeworm.com/read/101253/15839274

c 二进制数.c

/*递归法求二进制数*/ #include void printb(int x,int n); void main() { int x; printf("input number:"); scanf("%d",&x); printf("number of decimal form: %d\n",x);
www.eeworm.com/read/100753/15865222

c 二进制数.c

/*递归法求二进制数*/ #include void printb(int x,int n); void main() { int x; printf("input number:"); scanf("%d",&x); printf("number of decimal form: %d\n",x);
www.eeworm.com/read/371950/9529349

cpp main.cpp

/******************************************************************************* 20. (N皇后) 在国际象棋的棋盘上放置N个皇后,使其不能互相攻击,即任意 两个皇后不能处在棋盘的同一行,同一列,同一斜线上,试问共有多少种摆法? 利用回溯法求解N皇后问题 **********************