![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
题解
bupt晨旭
这个作者很懒,什么都没留下…
展开
-
112. 路径总和
力扣112. 路径总和,递归 查找原创 2022-09-06 11:56:00 · 63 阅读 · 0 评论 -
118. 杨辉三角
生成杨辉三角,递归原创 2022-08-29 14:06:42 · 63 阅读 · 0 评论 -
121. 买卖股票的最佳时机
差分数组+最大子序和原创 2022-08-28 12:49:31 · 71 阅读 · 0 评论 -
C. Weight of the System of Nested Segments
C. Weight of the System of Nested Segments(按照value的大小对map排序)原创 2022-03-10 22:30:14 · 496 阅读 · 1 评论 -
一道区间dp的简单题
一道区间dp的简单题刚学了区间dp,找了一道阉割版的任务分配练一下手因为题目数据较弱所以我打算直接用三层循环寻找区间内符合条件的最优解代码如下:#include <bits/stdc++.h>#define inf 0x7fffffff#define ll long longusing namespace std;int dp[1003][1003];int main(){ int n,i,j,k; scanf ("%d",&n); i原创 2022-03-05 18:54:02 · 225 阅读 · 1 评论 -
高精度(洛谷 P1601 A+B Problem)
高精度 (洛谷 P1601 A+B Problem)原创 2022-03-03 13:37:18 · 179 阅读 · 0 评论