
oj
handong1587
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
poj 2155 树状数组
照着以下资料初步学习了树状数组:树状数组题目集.pdf http://download.youkuaiyun.com/detail/handong1587/5659973http://dongxicheng.org/structure/binary_indexed_tree/http://community.topcoder.com/tc?module=Static&d1=tutorials原创 2013-06-27 17:10:36 · 497 阅读 · 0 评论 -
(zz)ACM基本算法分类、推荐学习资料和配套pku习题
http://www.cppblog.com/AClayton/archive/2007/09/17/32367.html转载 2014-07-04 15:49:12 · 188 阅读 · 0 评论 -
POJ 3669 Meteor Shower
#include #include #include #include #include using namespace std;#if 1#define MAX_X 300#define MAX_Y 300#define INF 0x3f3f3f3fint M;int loc[305][305];int isVis[305][305];原创 2014-08-08 21:06:42 · 389 阅读 · 0 评论 -
poj 2718 Smallest Difference
#include #include #include using namespace std;#if 1#define _my_abs_(a) ((a)<0?(-(a)):(a))int t;int d[20];int arr2num(int *a,int len){ int r=0; for (int i=0;i<len;i++) { r=r*10+a[i]; }原创 2014-08-12 11:18:00 · 410 阅读 · 0 评论 -
字符串哈希
poj 1200原创 2014-09-15 23:51:27 · 433 阅读 · 0 评论 -
POJ 3921 Destroying the bus stations
本题可用迭代加深搜索的方法求解,原创 2014-09-16 22:38:28 · 458 阅读 · 0 评论 -
poj Eight
本题是八数码问题可以采用双向广度优先搜索原创 2014-09-16 22:45:57 · 531 阅读 · 0 评论 -
后缀数组+回文字符串
妈蛋被坑了无数次。。我要怒刷poj原创 2014-09-17 18:02:47 · 538 阅读 · 0 评论