摘要: 第一步:首先编写python的源程序 第二步:打开命令行 阅读全文
posted @ 2020-05-14 09:12 小白yuan 阅读(546) 评论(0) 推荐(0)
摘要: //汉诺塔//思路:我们可以简化一下假设在开始的柱子上我们只有2个盘,所以我们要把这两个盘移动的目标盘时需要把上面一个盘移动的辅助柱子上·,然后需要把开始柱子上剩下的最后一个盘移动到目标柱,然后再把辅助柱子上的盘移动到目标柱子,不管有多少个盘都要遵循这个规律所以我们可以用递归来计算把 #includ 阅读全文
posted @ 2020-03-28 17:28 小白yuan 阅读(189) 评论(0) 推荐(0)
摘要: #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 阅读全文
posted @ 2020-03-25 22:05 小白yuan 阅读(620) 评论(0) 推荐(0)
摘要: //小学生口算题卡系统(不能为负数和小数,小小学生还不知道)import java.util.Scanner; public class SwitchFor { public static void main(String[] args) { // TODO Auto-generated metho 阅读全文
posted @ 2020-03-25 22:01 小白yuan 阅读(349) 评论(0) 推荐(0)
摘要: /*题目:新型冠病毒登记表 1,研究的对象是人 2,人与人是一对一的可以用线性表来表示 3,对象包括姓名,年龄,体温 */ #include <stdio.h> #include <stdlib.h> #include <string.h> #define MAX 10 #define OVER - 阅读全文
posted @ 2020-03-25 21:59 小白yuan 阅读(1927) 评论(0) 推荐(0)
摘要: #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 阅读全文
posted @ 2020-03-25 21:55 小白yuan 阅读(4553) 评论(0) 推荐(0)
摘要: package 数组; import java.util.Scanner; /** *@version 创建时间:2020/3/25 *类说明:字符串比较和搜索引擎 */ public class SouSuoYQ { public static void main(String[] args) { 阅读全文
posted @ 2020-03-25 11:21 小白yuan 阅读(957) 评论(0) 推荐(0)
摘要: #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; 阅读全文
posted @ 2020-03-24 21:20 小白yuan 阅读(146) 评论(0) 推荐(0)
摘要: 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 阅读全文
posted @ 2020-03-23 16:46 小白yuan 阅读(377) 评论(0) 推荐(0)
摘要: #include <stdio.h>#include <stdlib.h>#include <math.h>#define MAX 10#define ADD 10 typedef int ElemType;typedef struct SqStack{ ElemType *base; ElemTy 阅读全文
posted @ 2020-03-23 16:42 小白yuan 阅读(130) 评论(0) 推荐(0)