Pascal递归 源代码

汇集 Pascal递归 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。

收录资源 500 份 全站深度检索
源码文件

#include #include struct listNode{ int data; struct listNode *nextPtr; }; typedef struct listNode LISTNODE; type…

源码文件

/**********递归题改为非递归题实例 车厢********/ #include #define MAX 4 int stack[MAX],p=-1; struct { int num; int sign; …

源码文件

#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; el…

源码文件

#include void move(char x,char y) {printf("%c-->%c\n",x,y);} void hanoi (int n,char one ,char two,char three) { if(n==1…

源码文件

#include int sub(int n) { if(n==1){ static int i=0; do { i++; } while(i%5!=0); //printf("*%d*",i); return(i+…

源码文件

#include int factr(int n) { int result,r; if (n==1) return 1; result=factr(n-1)*n; return result; } main() …

源码文件

#include #include struct listNode{ int data; struct listNode *nextPtr; }; typedef struct listNode LISTNODE; type…

源码文件

/**********递归题改为非递归题实例 车厢********/ #include #define MAX 4 int stack[MAX],p=-1; struct { int num; int sign; …

源码文件

实验项目二 递归下降分析程序设计 [实验任务] 完成以下描述算术表达式的LL(1)文法的递归下降分析程序 G[E]: E→TE′ E′→ATE′|ε T→FT′ T′→MFT′|…

源码文件

第2章,表 表的顺序表示实现的头文件和基本程序文件。 表的链接表示实现的头文件和基本程序文件 表的动态顺序表示实现的头文件和基本程序文件(原书没有) 应用举例——Josephus问题: 顺序表实现和循环链接表实现 第3章,字符串 字符…