会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Assassin_poi君
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
···
32
下一页
2018年6月1日
hdu-4578-Transformation-线段树(区间更新区间求和,多lazy,绝世好题)
摘要: Time limit 8000 msMemory limit 65536 kB Yuanfang is puzzled with the question below: T...
阅读全文
posted @ 2018-06-01 15:56 Assassin_poi君
阅读(186)
评论(0)
推荐(0)
2018年5月29日
HDU4027——Can you answer these queries? (线段树区间更新求和+开根减枝+坑)
摘要: A lot of battleships of evil are arranged in a line before the battle. Our commander decides to use our secret weapon to eliminate the...
阅读全文
posted @ 2018-05-29 19:53 Assassin_poi君
阅读(121)
评论(0)
推荐(0)
CSU - 1588 合并果子
摘要: 现在有n堆果子,第i堆有ai个果子。现在要把这些果子合并成一堆,每次合并的代价是两堆果子的总果子数。求合并所有果子的最小代价。Input第一行包含一个整数T(T#include using namespace std;struct cmp{ bool operato...
阅读全文
posted @ 2018-05-29 17:14 Assassin_poi君
阅读(136)
评论(0)
推荐(0)
hdu4614——Vases and Flowers
摘要: Alice is so popular that she can receive many flowers everyday. She has N vases numbered from 0 to N-1. When she receive some flowers, she will try to
阅读全文
posted @ 2018-05-29 16:44 Assassin_poi君
阅读(157)
评论(0)
推荐(0)
hdu4614——Vases and Flowers
摘要: Alice is so popular that she can receive many flowers everyday. She has N vases numbered from 0 to N-1. When she receive some flowers,...
阅读全文
posted @ 2018-05-29 16:41 Assassin_poi君
阅读(97)
评论(0)
推荐(0)
2018年5月28日
C++STL——unique函数总结
摘要: 头文件:#include <iostream> 参数:和sort一样。两个参数——开始地址和结束地址(左闭右开)。 返回值:去重之后的尾地址!!! 作用:unique的作用是“去掉”容器中相邻元素的重复元素。 解析:unique实质上是一个伪去除,它并不是真正把重复的元素删除,而是用不重复的元素把重
阅读全文
posted @ 2018-05-28 19:13 Assassin_poi君
阅读(1760)
评论(0)
推荐(2)
POJ2528——Mayor's posters (线段树区间更新查询+离散化)
摘要: The citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been placing their electoral p...
阅读全文
posted @ 2018-05-28 18:54 Assassin_poi君
阅读(98)
评论(0)
推荐(0)
C++STL——unique函数总结
摘要: 头文件:#include 参数:和sort一样。两个参数——开始地址和结束地址(左闭右开)。返回值:去重之后的尾地址!!!作用:unique的作用是“去掉”容器中相邻元素的重复元素。解析:unique实质上是一个伪去除,它并不是真正把重复的元素删除,而是用不重复的元素...
阅读全文
posted @ 2018-05-28 15:30 Assassin_poi君
阅读(184)
评论(0)
推荐(0)
2018年5月23日
HDU 5618 Jam's problem again(CDQ分治+树状数组(三维模板题))
摘要: Jam like to solve the problem which on the 3D-axis,given N(1=xj,yi>=yj,zi>=zj,the bigger one level add 1.Ask for the each level of the...
阅读全文
posted @ 2018-05-23 18:56 Assassin_poi君
阅读(153)
评论(0)
推荐(0)
c++解决爆栈,手动加栈!
摘要: 放在头文件前面#pragma comment(linker,"/STACK:1024000000,1024000000")
阅读全文
posted @ 2018-05-23 17:01 Assassin_poi君
阅读(651)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
···
32
下一页
公告