会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
KBAI
轻微洁癖 热爱暗恋 有点闷骚 易被感动。 轻微自闭 占有欲强 苛求标准 双重人格 。 轻微强迫 喜欢游戏 不避热闹 享受孤独。
博客园
首页
新随笔
联系
管理
[置顶]
自用小本本
该文被密码保护。
阅读全文
posted @ 2019-10-29 22:06 KBAI
阅读(3)
评论(0)
推荐(0)
2019年11月12日
小、大、老凯的疑惑
摘要: 小凯 老凯
阅读全文
posted @ 2019-11-12 15:33 KBAI
阅读(133)
评论(0)
推荐(0)
2019年11月11日
看脸算法
摘要: 1 #include <cstdio> 2 #include <algorithm> 3 #include <cmath> 4 #include <cstring> 5 #include <cstdlib> 6 #include <queue> 7 #include <iostream> 8 #in
阅读全文
posted @ 2019-11-11 18:44 KBAI
阅读(148)
评论(0)
推荐(0)
2019年11月10日
沙雕模拟
摘要: 1 2015011233 M 34 14'30" P 3 3 8 20170508 2015011233 17:02:33 17:19:33 2.99 0'0" 3333 20170509 2015011233 17:12:15 17:38:46 3.01 2'3" 4300 20170510 20
阅读全文
posted @ 2019-11-10 15:19 KBAI
阅读(204)
评论(0)
推荐(0)
2019年11月8日
线段树模板(区间修改,懒标)
摘要: 某谷题解 1 #include<algorithm> 2 #include<cstdio> 3 using namespace std; 4 typedef long long ll; 5 const ll N=1e5+10,INF=0x3f3f3f3f; 6 ll n,m; 7 ll sum[N]
阅读全文
posted @ 2019-11-08 19:02 KBAI
阅读(157)
评论(0)
推荐(0)
2019年11月7日
背包
摘要: 1 #include <cmath> 2 #include <cstdio> 3 #include <cstdlib> 4 #include <iostream> 5 #include <algorithm> 6 const int MAXN = 100; 7 const int MAXV = 20
阅读全文
posted @ 2019-11-07 20:56 KBAI
阅读(171)
评论(0)
推荐(0)
背包
摘要: 完全背包最简代码 1 for(int i=1;i<=n;++i) 2 for(int j=w[i];j<=w;++j) 3 dp[j]=max(dp[j],dp[j-w[i]]+v[i]); View Code
阅读全文
posted @ 2019-11-07 18:52 KBAI
阅读(84)
评论(0)
推荐(0)
2019年10月22日
洛谷P1043(水题题解)
摘要: 首先先上大佬DP法的AC代码(原链接) 大佬思路 设状态 DP的套路就是题目问什么就设什么,然后这有是一道区间DP经典题 所以我们设f[i][j][h]表示从i到j分成h段的最大最小值 转移方程 由状态我们可以得出转移方程: f[i][j][h]=max/min(f[i][j][h],f[i][k]
阅读全文
posted @ 2019-10-22 21:48 KBAI
阅读(669)
评论(0)
推荐(0)
2019年9月26日
自用书签
摘要: Bookmarks Bookmarks 超脱 书签栏 l NPC问题_百度百科C++对拍 - py_2017的博客 - CSDN博客 二分 你真的会写二分查找吗 - luoxn28 - 博客园 动态规划 最长不下降子序列详解(一) - hi_baymax的博客 - CSDN博客 语法 C++ typ
阅读全文
posted @ 2019-09-26 21:07 KBAI
阅读(206)
评论(0)
推荐(1)
2019年8月28日
博客源代码
摘要: 第一次 css html 他人博客
阅读全文
posted @ 2019-08-28 21:02 KBAI
阅读(303)
评论(0)
推荐(0)
公告