上一页 1 2 3 4 5 6 7 8 ··· 11 下一页

2016年7月12日

poj3659树状DP

摘要: Cell Phone Network Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 6273 Accepted: 2250 Description Farmer John has decided to give each of 阅读全文

posted @ 2016-07-12 10:54 当蜗牛有了理想 阅读(304) 评论(0) 推荐(1) 编辑

hdu1054 树状dp

摘要: B - 树形dp Crawling in process... Crawling failed Time Limit:2000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64u Submit Status Description Bob enj 阅读全文

posted @ 2016-07-12 09:59 当蜗牛有了理想 阅读(248) 评论(0) 推荐(0) 编辑

2016年7月10日

poj 1190 DFS 不等式放缩进行剪枝

摘要: F - (例题)不等式放缩 Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64u Submit Status Practice POJ 1190 F - (例题)不等式放缩 Submit Status Practic 阅读全文

posted @ 2016-07-10 18:58 当蜗牛有了理想 阅读(190) 评论(0) 推荐(0) 编辑

树状dp ural1018

摘要: #include<stdio.h> #include<string.h> #include <iostream> using namespace std; const int N=110; int dp[N][N],vis[N],head[N],num,m; struct edge { int st 阅读全文

posted @ 2016-07-10 13:52 当蜗牛有了理想 阅读(113) 评论(0) 推荐(0) 编辑

hdu1520 第一道树形DP,激动哇咔咔!

摘要: A - 树形dp Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit Status A - 树形dp Submit Status Description There is going to be a 阅读全文

posted @ 2016-07-10 10:05 当蜗牛有了理想 阅读(1204) 评论(2) 推荐(0) 编辑

2016年7月8日

动态规划复习

摘要: 1.动态规划第一步是要确定状态 确定参数是否足够 2.确定动态规划的初始边界 3.保证整个动态规划过程无后效性 4.确定编程实现方式(记忆化搜索或者递推) tip:一般通过枚举最后一次决策确定状态转移方程poj1088 http://poj.org/problem?id=1088 代码: /* 对于 阅读全文

posted @ 2016-07-08 16:38 当蜗牛有了理想 阅读(210) 评论(0) 推荐(0) 编辑

2016年7月7日

poj2251 三维简单BFS

摘要: D - (热身)简单宽搜回顾 Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit Status D - (热身)简单宽搜回顾 Submit Status Description You are tra 阅读全文

posted @ 2016-07-07 13:51 当蜗牛有了理想 阅读(2329) 评论(0) 推荐(0) 编辑

2016年7月1日

hdu1272并查集入门

摘要: 小希的迷宫 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 41540 Accepted Submission(s): 12811 Problem 阅读全文

posted @ 2016-07-01 19:06 当蜗牛有了理想 阅读(188) 评论(0) 推荐(0) 编辑

2016年6月24日

poj1006 孙子定理

摘要: Biorhythms Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 127944 Accepted: 40566 Description Some people believe that there are three cycl 阅读全文

posted @ 2016-06-24 22:08 当蜗牛有了理想 阅读(189) 评论(0) 推荐(0) 编辑

2016年6月22日

hdu2588 gcd 欧拉函数

摘要: GCD Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1567 Accepted Submission(s): 751 Problem Desc 阅读全文

posted @ 2016-06-22 20:38 当蜗牛有了理想 阅读(159) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 ··· 11 下一页

导航