- 博客(5)
- 收藏
- 关注
原创 BZOJ 1099([POI2007]树Drz-9次线段树&分类讨论+线段树与插入顺序维护2个参数)
1099: [POI2007]树DrzTime Limit: 15 Sec Memory Limit: 162 MBSubmit: 142 Solved: 55[Submit][Status]DescriptionCDQZ是一个偏远的小学校,FGD在学校里中了一排树。他却不喜欢这些树的顺序,因为他们高高矮矮显得那么参差不齐。 FGD定义这些树的不整齐程度为相邻两树的高度
2014-12-31 19:07:46 2172
原创 CF 496D(Tennis Game-O(t*(n/t)复杂度+vector排序)
D. Tennis Gametime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya and Gena love playing table tennis. A
2014-12-20 23:19:59 1530
原创 CF 496C(Removing Columns-贪心取字典序)
A. Removing Columnstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an n × m rectangular tabl
2014-12-18 13:08:46 1480
原创 CC MSTONES(Milestones-概率)
MilestonesProblem code: MSTONESAll submissions for this problem are available.Once upon a time, there was a Kingdom of Seven Roads. Besides a fancy name, it actually had exactly 7 st
2014-12-11 09:18:40 1238
原创 UVA 11020(Efficient Solutions-multiset的lower_bound)
C++的multiset,可重集:S.lower_bound() 指向迭代器的第一个ai>=k的元素S.upper_bound() 指向迭代器的第一个ai>k的元素本题可化为:有n个点坐标(a,b)一开始平面上没点,每次向其中加一个点,问每次有多少个点,没有在它左下角(不包括本点)(x'如果P.a显然一个点一次不符合条件,此后必不符合条件,且如果
2014-12-06 00:57:11 1266
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人