03 2016 档案

hdoj-5652 India and China Origins二分+bfs
摘要:题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=5652 A long time ago there are no himalayas between India and China, the both cultures are frequently e 阅读全文

posted @ 2016-03-28 21:27 disppr 阅读(173) 评论(0) 推荐(0)

hdoj-1166排兵布阵 简单的树状数组
摘要:敌兵布阵 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Problem Description C国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开 阅读全文

posted @ 2016-03-23 13:24 disppr 阅读(304) 评论(0) 推荐(0)

hdoj-5641 king's phone
摘要:Problem Description In a military parade, the King sees lots of new things, including an Andriod Phone. He becomes interested in the pattern lock scre 阅读全文

posted @ 2016-03-22 14:39 disppr 阅读(189) 评论(0) 推荐(0)

hdoj-1548简单的bfs题目
摘要://运用队列和搜索结合,一切更简单 #include <bits/stdc++.h>#define maxn 2006using namespace std;const int INF=3000;int op[]= {-1,1};int N;int s,g;int d[maxn];int mase[ 阅读全文

posted @ 2016-03-14 17:22 disppr 阅读(311) 评论(0) 推荐(0)