自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 收藏
  • 关注

原创 2021-01-01

ubuntu清华源https://mirror.tuna.tsinghua.edu.cn/help/ubuntu/

2021-01-01 21:15:41 157

原创 刷题记录

2.16 HDU 1166敌兵布阵 线段树 单点修改区间求和 HDU 1754 I Hate It 线段树单点赋值区间最值 POJ 3468 A Simple Problem with Integers 线段树 区间修改区间求和 POJ 2528 Mayor's posters 线段树 动态开点 Lazytag HDU 1698 J...

2020-02-16 21:07:53 183

原创 Luogu P1616 疯狂的采药

#include <algorithm>#include <cstdio>#include <cstdlib>#include <cstring>using namespace std;int f[100005];int main () { int t,m; scanf ("%d%d",&t,&m); ...

2019-07-26 16:06:12 176

原创 Luogu P1049 装箱问题 [NOIP 2001 普及组]

#include <algorithm>#include <cstdio>#include <cstdlib>#include <cstring>using namespace std;int f[20005];int main () { int v,n; scanf ("%d%d",&v,&n); ...

2019-07-08 12:16:47 303

原创 Luogu P1048 采药 [NOIP 2006 普及组]

#include <algorithm>#include <cstdio>#include <cstdlib>#include <cstring>using namespace std;int f[1005];int main () { int t,m; scanf ("%d%d",&t,&m); m...

2019-07-08 12:04:19 184

原创 Luogu P1064 金明的预算方案 [NOIP 2006 提高组]

#include <algorithm>#include <cstdio>#include <cstdlib>#include <cstring>using namespace std;int f[65],g[65][5],h[65][5],v[65],p[65];int ans[32005];int main...

2019-07-08 11:48:11 164

原创 Luogu P1164 小A点菜

#include <algorithm>#include <cstdio>#include <cstdlib>#include <cstring>using namespace std;int f[10005];int main () { int n,m; f[0]=1; scanf ("%d%d",&n,&...

2019-07-07 23:50:50 136

原创 Luogu P1060 开心的金明 [NOIP 2006 普及组]

#include <algorithm>#include <cstdio>#include <cstdlib>#include <cstring>using namespace std;int f[30005];int main () { int n,m; memset (f,-1,sizeof (f)); f[0]=...

2019-07-07 23:28:49 261

转载 Dragon Raja 语录

爱唱歌的女孩被埋在花下了 连带着她的野心 残暴和谜一样的往事

2016-12-22 00:02:18 398

转载 Dragon Raja 语录

什么是死去?是终点,是诀别,是不可挽留,是再也握不到的手,感觉不到的温度,再也说不出口的“对不起”。

2016-12-08 20:08:11 350

转载 Dragon Raja 语录

不会有结果的希望都是有毒的哦,就像是小女孩用来暖和自己的火柴。可是该燃烧的,还是会烧起来的。

2016-12-06 20:48:17 434

转载 Dragon Raja 语录

或许是不知梦的缘故,流离之人追逐幻影。

2016-12-05 23:26:34 294

转载 小店购物 JSOI2008 BZOJ 2260

Bzoj 2260 商店购物Description  Grant是一个个体户老板,他经营的小店因为其丰富的优惠方案深受附近居民的青睐,生意红火。小店的优惠方案十分简单有趣。Grant规定:在一次消费过程中,如果您在本店购买了精制油的话,您购买香皂时就可以享受2.00元/块的优惠价;如果您在本店购买了香皂的话,您购买可乐时就可以享受1.50元/听的优惠价……诸如此类的优惠方案就是说:

2016-12-04 20:13:23 491

原创 最小树形图 朱刘算法

最小树形图即为有向图的最小生成树若从根结点不可达某一结点,则无最小树形图对于不定根的最小树形图,加一个点建图即可朱刘算法:1965年朱永津和刘振宏提出的复杂度为O(VE)的算法传送门:最小树形图-朱刘算法

2016-12-04 19:59:18 390

转载 Dragon Raja 语录

有些路你和某人一起走,就长得离谱,你和另外一些人走,就短得让人舍不得迈开脚步。

2016-12-04 18:10:23 321

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除