- 博客(7)
- 收藏
- 关注
原创 hdu 5115 Dire Wolf (区间DP)
Dire Wolf Time Limit: 5000/5000 MS (Java/Others) Memory Limit: 512000/512000 K (Java/Others) Total Submission(s): 306 Accepted Submission(s): 179 Problem Description Dire wolves, als
2014-12-27 17:26:18 1267
原创 二分查找小结
先看二分查找的一般写法 #include #include #include #include #include #include using namespace std; #define N 100005 #define ll __int64 int n,a[N]; int findd(int x) { int l=0,r=n-1; while(l<=r) {
2014-12-19 12:55:24 572
原创 poj 1151 Atlantis (线段树+扫描线+离散化)
AtlantisTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 18061 Accepted: 6873DescriptionThere are several ancient Greek texts that contain descriptions of the fabled island Atlantis. Some of ...
2014-12-08 11:32:04 1017
原创 poj 2318 TOYS (点与线段位置关系判断)
TOYS Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 10848 Accepted: 5206 Description Calculate the number of toys that land in each bin of a partitioned
2014-12-06 13:12:15 979
原创 poj 2528 Mayor's posters (线段树+区间离散)
Mayor's posters Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 45031 Accepted: 13080 Description The citizens of Bytetown, AB, could not stand that the
2014-12-06 11:39:24 701
转载 POJ 计算几何入门题目推荐
之所以推荐计算几何题,是因为,本人感觉ACM各种算法中计算几何算是比较实际的算法. 计算几何题的特点与做题要领: 1.大部分不会很难,少部分题目思路很巧妙 2.做计算几何题目,模板很重要,模板必须高度可靠。 3.要注意代码的组织,因为计算几何的题目很容易上两百行代码,里面大部分是模板。如果代码一片混乱,那么会严重影响做题正确率。 4.注意精度控制。 5.能用整数的地方尽量用整数,要想到
2014-12-03 10:17:28 527
原创 hdu 5124 lines (线段树+离散化)
lines Time Limit: 5000/2500 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 620 Accepted Submission(s): 288 Problem Description John has several lines
2014-12-01 21:52:12 882 3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人