摘要: 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) 编辑