上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 73 下一页
摘要: https://www.cnblogs.com/liangliangdetianxia/p/4491874.html 链接中的测试代码有误,下面是调试好的。 测试代码: #include <stdio.h> #include <stdlib.h> #include <math.h> #include 阅读全文
posted @ 2020-09-23 17:48 Tomorrow1126 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 1、先安装jdk 2、jdk的版本要和eclipse的对应 3、安装好jdk以后添加环境变量https://www.runoob.com/java/java-environment-setup.html 阅读全文
posted @ 2020-09-23 17:30 Tomorrow1126 阅读(94) 评论(0) 推荐(0) 编辑
摘要: https://zhuanlan.zhihu.com/p/90857517?from_voters_page=true 按照这个链接成功了 阅读全文
posted @ 2020-09-23 14:33 Tomorrow1126 阅读(1526) 评论(0) 推荐(0) 编辑
摘要: 1、最长不增子序列,拦截导弹 #include<cstdio> #include<iostream> #include<string> #include<cstring> #include<cmath> #include<stdlib.h> #include<algorithm> #include< 阅读全文
posted @ 2020-09-21 16:27 Tomorrow1126 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 1、 long long 为64位整数类型,一般的long long为64位,由于负数补码的原因, 第一位作为符号位,因此有63位可用。则取值范围为-2^63到2^63-1。 2、 C++中也可以用科学计数法,比如: 0.01 = 1e-2 (注意e前面的那个是数字1) 100 = 1e2 阅读全文
posted @ 2020-09-19 16:14 Tomorrow1126 阅读(3922) 评论(0) 推荐(0) 编辑
摘要: https://www.nowcoder.com/questionTerminal/df219d60a7af4171a981ef56bd597f7b#include<cstdio> #include<iostream> #include<string> #include<cstring> #incl 阅读全文
posted @ 2020-09-19 16:13 Tomorrow1126 阅读(124) 评论(0) 推荐(0) 编辑
摘要: https://www.nowcoder.com/questionTerminal/c978e3375b404d598f1808e4f89ac551 #include<cstdio> #include<iostream> #include<string> #include<cstring> #inc 阅读全文
posted @ 2020-09-19 15:42 Tomorrow1126 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 1、递推求解 2、最大连续子序列和 3、最长递增子序列 4、最长公共子序列 5、背包问题 阅读全文
posted @ 2020-09-19 15:41 Tomorrow1126 阅读(90) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1232 #include<cstdio> #include<iostream> #include<string> #include<cstring> #include<cmath> #include<stdlib. 阅读全文
posted @ 2020-09-19 11:15 Tomorrow1126 阅读(135) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> using namespace std; char g[10][9]; bool st[10][9]; int dx[]={-2,-1,1,2,2,1,-1,-2},dy[]={1,2,2,1,-1,-2,-2,-1};//这里我是看图从左上顺时针写的 bool 阅读全文
posted @ 2020-09-18 14:35 Tomorrow1126 阅读(146) 评论(0) 推荐(0) 编辑
上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 73 下一页