ZOJ 1649 && HDU 1242 Rescue 大半夜写博客也是蛮拼的。。...
分类:
其他好文 时间:
2014-08-12 10:28:23
阅读次数:
182
最近学的线段树和扫描线实在是有点难度,所以我干脆拿出点时间写篇自己之前做的题目报告吧! Language of FatMouse Time Limit:10000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit Status Prac...
分类:
其他好文 时间:
2014-08-12 10:04:33
阅读次数:
228
今天这场打的还不错吧,就是开场一个小时就WA在两道水题上了,今天的题总体上比原先的个人赛水多了,有点喜剧性吧,就 像这个一样 ,其实我也挺喜欢听小苹果的,虽然一开始骂这是一首破歌。 今天看到A题CodeForces 205B,好开心,这不是可以用昨天那道ZOJ 2243 treap用线段树解决的方法...
分类:
其他好文 时间:
2014-08-12 03:03:13
阅读次数:
253
先上题目:Binary Search Heap ConstructionTime Limit:5 Seconds Memory Limit:32768 KBRead the statement of problem G for the definitions concerning trees. In...
分类:
其他好文 时间:
2014-08-11 23:57:23
阅读次数:
895
There is one last gate between the hero and the dragon. But opening the gate isn't an easy task.
There were n buttons list in a straight line in front of the gate and each with an integer on it. Like...
分类:
其他好文 时间:
2014-08-11 21:22:33
阅读次数:
341
题目链接题意 : N个点M条边,允许有重边,让你求出割边的数目以及每条割边的编号(编号是输入顺序从1到M)。思路 :tarjan求割边,对于除重边以为中生成树的边(u,v),若满足dfn[u] 2 #include 3 #include 4 #include 5 6 using names...
分类:
其他好文 时间:
2014-08-11 20:28:03
阅读次数:
363
When we are focusing on solving problems, we usually prefer to stay in front of computers rather than go out for lunch. At this time, we may call for food delivery.
Suppose there are N people living ...
分类:
其他好文 时间:
2014-08-11 15:02:22
阅读次数:
333
树状数组套主席树,维护区间动态第K大。。。
ZOJ给的空间太小,而主席树要求的空间太大,只能到BZOJ上交
1901: Zju2112 Dynamic Rankings
Time Limit: 10 Sec Memory Limit: 128 MB
Submit: 4186 Solved: 1754
[Submit][Status]
Description
给定一个含...
分类:
其他好文 时间:
2014-08-11 00:29:21
阅读次数:
313