sabo
sabo
全部文章
题解
c++(1)
因果推断(2)
技术栈(1)
机器学习(27)
程序静态分析(1)
算法实践(1)
算法总结(15)
统计(1)
自然语言处理(9)
论文笔记(13)
读书笔记(1)
面经(1)
项目学习(1)
归档
标签
去牛客网
登录
/
注册
Stay Forever Young
Act like a woman, think like a man
全部文章
/ 题解
(共14篇)
luogu p1809
代码: 分两种情况: 1. 最快带最慢的两个过去 2. 最快带次快过去,次快回,最慢带次慢过去,最快回 贪心+dp/记忆化搜索 // // Created by 徐志远 on 2019-09-26. // #include <iostream> #include <cstdio&...
dfs
贪心
dp
2019-09-27
0
584
luogu 1858
代码 //背包第K优解 //中间添加合并过程 //背包九讲 #include <cstdio> #include <cstring> using namespace std; int f[5001][51]; int k,v,n; int t[51]; int main()...
dp
2019-09-27
0
513
luogu p4095
dp双向预处理+分段查询+合并 #include <iostream> #include <cstdio> #include <cstring> #include <algorithm> using namespace std; #define N 1...
dp
2019-09-26
0
569
CQOI2009 叶子的颜色
题目大意:https://www.cnblogs.com/xxzh/p/9278487.html代码: #include <bits/stdc++.h> using namespace std; const int maxn = 100000 + 10; const int inf =...
dp
2019-08-14
0
623
首页
上一页
1
2
下一页
末页