09 2021 档案

qtabwidget 垂直tab
摘要:https://stackoverflow.com/questions/50578661/how-to-implement-vertical-tabs-in-qt# 阅读全文

posted @ 2021-09-30 21:46 katago 阅读(391) 评论(0) 推荐(0) 编辑

Docker 时区调整方案
摘要:时区不对,导致无法v to ray 番薯强 echo ZG9ja2VyIHJ1biAtZCAtLW5hbWUgdjJyYXkgLXYgL2V0Yy92MnJheTovZXRjL3YycmF5IC12IC9ldGMvdGltZXpvbmU6L2V0Yy90aW1lem9uZTpybyAtdiAvZXR 阅读全文

posted @ 2021-09-28 14:16 katago 阅读(39) 评论(0) 推荐(0) 编辑

滚动数组
摘要:https://www.bilibili.com/video/av371396684/ 滚动数组是DP中的一种编程思想。简单的理解就是让数组滚动起来,每次都使用固定的几个存储空间,来达到压缩,节省存储空间的作用。起到优化空间,主要应用在递推或动态规划中(如01背包问题)。因为DP题目是一个自底向上的 阅读全文

posted @ 2021-09-24 17:41 katago 阅读(268) 评论(0) 推荐(0) 编辑

leetcode动态规划
摘要:https://zhuanlan.zhihu.com/p/150516970 https://zhuanlan.zhihu.com/p/265891102 https://leetcode-cn.com/problems/maximum-product-subarray/submissions/ / 阅读全文

posted @ 2021-09-23 17:16 katago 阅读(29) 评论(0) 推荐(0) 编辑

初中数学学习
摘要:参考学而思网校上面的课程: 班级类型分3种,发现A+可能最适合 朱韬 的 目标A+班 链接: https://www.xueersi.com/course-detail/212219/3283925?switch_grade=8&switch_subject=2&sGroupId=30011 分析发 阅读全文

posted @ 2021-09-16 17:38 katago 阅读(109) 评论(0) 推荐(0) 编辑

LCS最长公共子序列
摘要: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 阅读全文

posted @ 2021-09-15 16:36 katago 阅读(30) 评论(0) 推荐(0) 编辑

Help Jimmy
摘要:http://poj.org/problem?id=1661 #include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> using namespace std; #defin 阅读全文

posted @ 2021-09-14 18:01 katago 阅读(28) 评论(0) 推荐(0) 编辑

最长上升子序列
摘要:#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 阅读全文

posted @ 2021-09-14 10:55 katago 阅读(32) 评论(0) 推荐(0) 编辑

数字三角形
摘要:程序设计导引及在线实践 第一种解法,直接递归,优化后,改为逆推动态规划 打印路径,可以反过来计算。 #include<iostream> using namespace std; #define MAX_NUM 100 int A[MAX_NUM + 10][MAX_NUM + 10]; int D 阅读全文

posted @ 2021-09-13 17:02 katago 阅读(46) 评论(0) 推荐(0) 编辑

1191:流感传染
摘要: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 阅读全文

posted @ 2021-09-02 14:08 katago 阅读(170) 评论(0) 推荐(0) 编辑

1190:上台阶
摘要: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 阅读全文

posted @ 2021-09-02 11:03 katago 阅读(443) 评论(0) 推荐(0) 编辑

1189:Pell数列
摘要:http://ybt.ssoier.cn:8088/problem_show.php?pid=1189 把1188的mod和递推公式修改一下即可。 #include<iostream> using namespace std; const int maxn=1000000; const int mo 阅读全文

posted @ 2021-09-02 10:52 katago 阅读(222) 评论(0) 推荐(0) 编辑

1188:菲波那契数列(2)
摘要: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]; 阅读全文

posted @ 2021-09-02 10:46 katago 阅读(45) 评论(0) 推荐(0) 编辑

兔子繁殖问题
摘要:依次类推可以列出下表: 经过月数 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 阅读全文

posted @ 2021-09-01 14:38 katago 阅读(1758) 评论(0) 推荐(0) 编辑

1314:【例3.6】过河卒(Noip2002)
摘要: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 阅读全文

posted @ 2021-09-01 09:57 katago 阅读(286) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示