03 2020 档案
摘要://汉诺塔//思路:我们可以简化一下假设在开始的柱子上我们只有2个盘,所以我们要把这两个盘移动的目标盘时需要把上面一个盘移动的辅助柱子上·,然后需要把开始柱子上剩下的最后一个盘移动到目标柱,然后再把辅助柱子上的盘移动到目标柱子,不管有多少个盘都要遵循这个规律所以我们可以用递归来计算把 #includ
阅读全文
摘要:#include <stdio.h> #include <string.h> #include <math.h> int main() { int n,i,j,k; int e; char num[10][100001]; int sum[10]={0}; int mon[100001]; int
阅读全文
摘要://小学生口算题卡系统(不能为负数和小数,小小学生还不知道)import java.util.Scanner; public class SwitchFor { public static void main(String[] args) { // TODO Auto-generated metho
阅读全文
摘要:/*题目:新型冠病毒登记表 1,研究的对象是人 2,人与人是一对一的可以用线性表来表示 3,对象包括姓名,年龄,体温 */ #include <stdio.h> #include <stdlib.h> #include <string.h> #define MAX 10 #define OVER -
阅读全文
摘要:#include <stdio.h> #include <stdlib.h> #define MAX 10 #define ADD 10 #define OVER -2 #define ERROR -1 #define OK 1 typedef int ElemType; typedef struc
阅读全文
摘要:package 数组; import java.util.Scanner; /** *@version 创建时间:2020/3/25 *类说明:字符串比较和搜索引擎 */ public class SouSuoYQ { public static void main(String[] args) {
阅读全文
摘要:#include <stdio.h> #include <stdlib.h> #include <string.h> #define M 10 #define N 10 //typedef int ElemType; typedef struct PosType{ int x;//行号 int y;
阅读全文
摘要:import java.util.Scanner; public class JinZhi { public static void main(String[] args) { // TODO Auto-generated method stub int n,m,a = 0; int t; int
阅读全文
摘要:#include <stdio.h>#include <stdlib.h>#include <math.h>#define MAX 10#define ADD 10 typedef int ElemType;typedef struct SqStack{ ElemType *base; ElemTy
阅读全文