
ZOJ
文章平均质量分 66
洛神之思
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
zoj——3623(dp)
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3623转载代码:#include #include #include string.h>#include using namespace std;int N,L;int T[34],l[34];int dp[334];int main()转载 2012-09-03 15:51:22 · 554 阅读 · 0 评论 -
ZOJ——5013
题目地址:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5013http://121.249.217.157:8080/contest/view.action?cid=70#problem/F小结:(wrong了14遍,结果证明是在红线的地方出了错误。(人品问题?))源代码:#inc原创 2013-05-18 23:25:54 · 664 阅读 · 0 评论 -
ZOJ——2971(模拟)
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1970源代码:#include#includeint get(char st[ ]){ if (strcmp(st,"and")==0) return -1; if (strcmp(st,"hundred")==0)原创 2012-08-15 16:03:46 · 534 阅读 · 0 评论 -
ZOJ——1091(宽搜)
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=1091源代码:#include#include#include#includeusing namespace std;int m,n;int visit[100005];struct node{int num,s原创 2012-08-03 11:42:17 · 691 阅读 · 0 评论 -
ZOJ——2412(深搜)
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2412源代码:#include#include#include#include#includeusing namespace std;int m,n;char a[52][52];int flag[52][52];int原创 2012-08-03 11:41:07 · 467 阅读 · 0 评论 -
ZOJ——2110(深搜 )
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2110源代码:# include # include # include #include using namespace std;char map[9][9]; int n,m,t,di,dj; bool原创 2012-08-03 11:43:34 · 590 阅读 · 1 评论 -
ZOJ——3622(数论)
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3622源代码:#includeusing namespace std;int check(int m){int i=0;while(m>0){m/=10;i++;}return i;}long原创 2012-08-09 16:38:49 · 489 阅读 · 0 评论 -
ZOJ——1649(宽度搜索)
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=1649源代码:#include#include#include#includeusing namespace std;int m,n;int x[4]={-1,0,1,0};int y[4]={0,1,0,-1};ch原创 2012-08-03 16:06:45 · 653 阅读 · 0 评论