代码搜索:递归回溯

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

代码结果 2,805
www.eeworm.com/read/363342/9958166

c 阶乘递归.c

#include int factr(int n) { int result,r; if (n==1) return 1; result=factr(n-1)*n; return result; } main() { int a; a=factr(5); printf("%d",a); }
www.eeworm.com/read/363342/9958205

c 链表(递归).c

#include #include struct listNode{ int data; struct listNode *nextPtr; }; typedef struct listNode LISTNODE; typedef LISTNODE * LISTNODEPTR; LISTNODEPTR list(LISTNODEPTR , int); /
www.eeworm.com/read/363342/9958220

c 递归车厢.c

/**********递归题改为非递归题实例 车厢********/ #include #define MAX 4 int stack[MAX],p=-1; struct { int num; int sign; }train[MAX]; void sub() { int inc; if(p==MAX-
www.eeworm.com/read/167125/9980251

c 链表(递归).c

#include #include struct listNode{ int data; struct listNode *nextPtr; }; typedef struct listNode LISTNODE; typedef LISTNODE * LISTNODEPTR; LISTNODEPTR list(LISTNODEPTR , int); /
www.eeworm.com/read/163189/10172083

txt 6.5递归.txt

STACK EQU 1FH BOTTOM EQU 00H M EQU 200 TOP DATA 3EH N DATA 30H NFACT EQU 31H TST: MOV SP,#5FH LCALL SETNULL MOV N,#5 LCALL FACT0
www.eeworm.com/read/424315/10464567

txt 6.5递归.txt

STACK EQU 1FH BOTTOM EQU 00H M EQU 200 TOP DATA 3EH N DATA 30H NFACT EQU 31H TST: MOV SP,#5FH LCALL SETNULL MOV N,#5 LCALL FACT0
www.eeworm.com/read/159770/10618628

c 链表(递归).c

#include #include struct listNode{ int data; struct listNode *nextPtr; }; typedef struct listNode LISTNODE; typedef LISTNODE * LISTNODEPTR; LISTNODEPTR list(LISTNODEPTR , int); /
www.eeworm.com/read/159770/10618641

c 递归车厢.c

/**********递归题改为非递归题实例 车厢********/ #include #define MAX 4 int stack[MAX],p=-1; struct { int num; int sign; }train[MAX]; void sub() { int inc; if(p==MAX-
www.eeworm.com/read/159463/10647476

cpp nqueens递归.cpp

#include #include #include define QUEENS 4; //!记录解的序号的全局变量。 int iCount = 0; //!记录皇后在各列上的放置位置的全局数组。 int Site[QUEENS]; //!递归求解的函数。 void Queen(int n
www.eeworm.com/read/276181/10758055

c 傻瓜递归.c

#include main() { int m=1,n=1,s; s=akm(m,n); printf("%d",s); } akm(int m,int n) { if(m==0) return n+1; else if(m!=0&&n==0) akm(m-1,1); else if(m!=0&&n!=0)