摘要:https://stackoverflow.com/questions/50578661/how-to-implement-vertical-tabs-in-qt#
阅读全文
摘要:时区不对,导致无法v to ray 番薯强 echo ZG9ja2VyIHJ1biAtZCAtLW5hbWUgdjJyYXkgLXYgL2V0Yy92MnJheTovZXRjL3YycmF5IC12IC9ldGMvdGltZXpvbmU6L2V0Yy90aW1lem9uZTpybyAtdiAvZXR
阅读全文
摘要:https://www.bilibili.com/video/av371396684/ 滚动数组是DP中的一种编程思想。简单的理解就是让数组滚动起来,每次都使用固定的几个存储空间,来达到压缩,节省存储空间的作用。起到优化空间,主要应用在递推或动态规划中(如01背包问题)。因为DP题目是一个自底向上的
阅读全文
摘要:https://zhuanlan.zhihu.com/p/150516970 https://zhuanlan.zhihu.com/p/265891102 https://leetcode-cn.com/problems/maximum-product-subarray/submissions/ /
阅读全文
摘要:参考学而思网校上面的课程: 班级类型分3种,发现A+可能最适合 朱韬 的 目标A+班 链接: https://www.xueersi.com/course-detail/212219/3283925?switch_grade=8&switch_subject=2&sGroupId=30011 分析发
阅读全文
摘要:http://poj.org/problem?id=1458#include<iostream> #include<cstdio>#include<cstring>using namespace std;const int MAXN=1000;char sz1[MAXN];char sz2[MAXN];int dp[MAXN+10][MAXN+10];/*最后一个字符相同dp[i][j]=dp[i
阅读全文
摘要:http://poj.org/problem?id=1661 #include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> using namespace std; #defin
阅读全文
摘要:#include<iostream> using namespace std; #define MAX_N 100 int N; int b[MAX_N + 10]; int aMaxLen[MAX_N + 10]; int r[MAX_N + 10];//记录路径 /* 7 1 7 3 5 9 4
阅读全文
摘要:程序设计导引及在线实践 第一种解法,直接递归,优化后,改为逆推动态规划 打印路径,可以反过来计算。 #include<iostream> using namespace std; #define MAX_NUM 100 int A[MAX_NUM + 10][MAX_NUM + 10]; int D
阅读全文
摘要:http://ybt.ssoier.cn:8088/problem_show.php?pid=1191 #include<iostream> #include<cstdio> using namespace std; const int maxn=100; char f[maxn+1][maxn+1
阅读全文
摘要:http://ybt.ssoier.cn:8088/problem_show.php?pid=1190 #include<iostream> using namespace std; const int maxn=71;//课本里面100有误,long long 都会溢出 const int mod
阅读全文
摘要:http://ybt.ssoier.cn:8088/problem_show.php?pid=1189 把1188的mod和递推公式修改一下即可。 #include<iostream> using namespace std; const int maxn=1000000; const int mo
阅读全文
摘要:http://ybt.ssoier.cn:8088/problem_show.php?pid=1188 #include<iostream> using namespace std; const int maxn=1000000; const int mod=1000; int f[maxn+1];
阅读全文
摘要:依次类推可以列出下表: 经过月数 0 1 2 3 4 5 6 7 8 9 10 11 … 小兔子对数 1 0 1 1 2 3 5 8 13 21 34 55 … 大兔对数 0 1 1 2 3 5 8 13 21 34 55 89 总体对数 1 1 2 3 5 8 13 21 34 55 89 144
阅读全文
摘要:http://ybt.ssoier.cn:8088/problem_show.php?pid=1314 #include<iostream> using namespace std; const int maxn=20+5; long long f[maxn][maxn];//数据可能超出int i
阅读全文