
poj
文章平均质量分 75
BIGKAKA
What they have done? What are you doing?
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
poj 3468 A Simple Problem with Integers
一道简单的线段树,可是对于脑残的我写起来也废了好大功夫~~QWQ 因为是区间更新所以需要添加一个down函数, 但是少了一个+号WA了好久~~qwq 注意写法~~ # include # include #include #include using namespace std; typedef long long LL; const int maxn=100000+10; LL原创 2016-03-13 17:13:44 · 331 阅读 · 0 评论 -
poj 1321 棋盘问题(简单搜索)
很简单的搜索,可是我最烦就是搜索了,因为对于递归的过程不是很能理解。。 自己能力比别人差,那就多做多写多看吧~~ 这个还有个剪枝的地方就是cur最多走到n-k+1行, #include #include #include #include using namespace std; #define N 50 int n,k,via[N],sum; char s[N][N]; v原创 2016-03-14 23:29:13 · 448 阅读 · 0 评论