上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 136 下一页
摘要: 参考学而思网校上面的课程: 班级类型分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 阅读(122) 评论(0) 推荐(0)
摘要: 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 阅读(36) 评论(0) 推荐(0)
摘要: 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 阅读(33) 评论(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 阅读(36) 评论(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 阅读(50) 评论(0) 推荐(0)
摘要: 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 阅读(182) 评论(0) 推荐(0)
摘要: 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 阅读(476) 评论(0) 推荐(0)
摘要: 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 阅读(246) 评论(0) 推荐(0)
摘要: 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 阅读(51) 评论(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 阅读(1850) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 136 下一页