会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
人生有味是清欢
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2020年7月5日
二维差分
摘要: https://www.cnblogs.com/LMCC1108/p/10753451.html https://www.cnblogs.com/i-cookie/p/11517651.html
阅读全文
posted @ 2020-07-05 14:51 人生有味是清欢
阅读(163)
评论(0)
推荐(0)
2020年6月25日
偏导数
摘要: https://zhidao.baidu.com/question/648661399387080885.html
阅读全文
posted @ 2020-06-25 08:49 人生有味是清欢
阅读(120)
评论(0)
推荐(0)
2020年6月6日
拍照
摘要: https://blog.csdn.net/weixin_42488640/article/details/86634745
阅读全文
posted @ 2020-06-06 08:30 人生有味是清欢
阅读(180)
评论(0)
推荐(0)
f12拍照
摘要: http://ask.zol.com.cn/x/4285825.html
阅读全文
posted @ 2020-06-06 08:23 人生有味是清欢
阅读(174)
评论(0)
推荐(0)
2020年5月24日
树状数组逆序对
摘要: https://www.cnblogs.com/xiaoguapi/p/10543797.html
阅读全文
posted @ 2020-05-24 09:34 人生有味是清欢
阅读(122)
评论(0)
推荐(0)
2020年5月16日
next_permutation
摘要: 用法 STL提供了两个用来计算排列组合关系的算法,分别是next_permutation和prev_permutation。首先我们必须了解什么是“下一个”排列组合,什么是“前一个”排列组合。即字典序。(字符串的大小)考虑三个字符所组成的序列{a,b,c}。 这个序列有六个可能的排列组合:abc,a
阅读全文
posted @ 2020-05-16 12:28 人生有味是清欢
阅读(178)
评论(0)
推荐(0)
P1087 FBI树
摘要: #include<stdio.h> #include<math.h> char A[1025]; void work(int low, int up) { int mid = (low+up)/2; if (low!=up){ work(low, mid); work(mid+1,up); } in
阅读全文
posted @ 2020-05-16 12:14 人生有味是清欢
阅读(133)
评论(0)
推荐(0)
2020年5月1日
P4047 [JSOI2010]部落划分
摘要: 算法 最小生成树 思路 我们把每个点看成一个部落,每次取最小距离的两个抱团,同时部落也减少了一个....然后减减减,直到部落数==目标数,此时下一个不同部落的距离就是最短的距离! 代码 #include<iostream> #include<cstring> #include<algorithm>
阅读全文
posted @ 2020-05-01 16:54 人生有味是清欢
阅读(155)
评论(0)
推荐(0)
买礼物
摘要: 算法 最小生成树 易错 在加的时候如果优惠价比原价高就加原价(这也是很多人90分的原因) 代码 #include <cstdio> #include <algorithm> using namespace std; int father[510],ans,g[510][510]; inline in
阅读全文
posted @ 2020-05-01 16:45 人生有味是清欢
阅读(187)
评论(0)
推荐(0)
P2121 拆地毯
摘要: 算法 最小生成树 思路 就排个序然后做 k 条边的最大生成树 代码 #include<iostream> #include<cstring> #include<cstdio> #include<algorithm> using namespace std; int n,m,k,f[100100],a
阅读全文
posted @ 2020-05-01 16:34 人生有味是清欢
阅读(139)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告