会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
晚晴小筑
Talk is cheap. Show me the code.
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
80
81
82
83
84
85
86
87
88
···
95
下一页
2012年12月7日
zoj_2136Longest Ordered Subsequence
摘要: Longest Ordered Subsequence Time Limit: 2 Seconds Memory Limit: 65536 KB A numeric sequence of ai is ordered if a1 #include #include using ...
阅读全文
posted @ 2012-12-07 15:50 N3verL4nd
阅读(141)
评论(0)
推荐(0)
2012年12月6日
poj_1661Help Jimmy
摘要: Help Jimmy Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 7549 Accepted: 2405 Description "Help Jimmy" 是在下图所示的场景上完成的游戏...
阅读全文
posted @ 2012-12-06 20:52 N3verL4nd
阅读(116)
评论(0)
推荐(0)
2012年12月4日
求最大子序列及其效率解析
摘要: #include #include using namespace std;//s(tart)表示最大子序列的开始位置,e(nd)表示结束位置//这里如果有多于一个的最大子序列的时候,只记录开始位置最低的那个int s=0;int e=0;//穷举法,复杂度O(n^3)long maxSubSu...
阅读全文
posted @ 2012-12-04 20:48 N3verL4nd
阅读(192)
评论(0)
推荐(0)
2012年12月3日
贪吃蛇
摘要: #include #include #include #include //★○●◎◇◆□■△☆▲※+typedef struct tagPOINT2D{ int x; int y;}POINT2D, *PPOINT2D;#define MAP_WIDTH 40#define MAP...
阅读全文
posted @ 2012-12-03 23:04 N3verL4nd
阅读(175)
评论(0)
推荐(0)
poj_2250Compromise
摘要: Compromise Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 5074 Accepted: 2314 Special Judge Description In a few month...
阅读全文
posted @ 2012-12-03 15:22 N3verL4nd
阅读(129)
评论(0)
推荐(0)
poj_2081
摘要: Recaman's Sequence Time Limit: 3000MS Memory Limit: 60000K Total Submissions: 19016 Accepted: 7963 Description The Recaman's sequenc...
阅读全文
posted @ 2012-12-03 10:48 N3verL4nd
阅读(132)
评论(0)
推荐(0)
poj_1579 && hdoj_1331
摘要: Function Run Fun Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 13554 Accepted: 7056 Description We all love recursion...
阅读全文
posted @ 2012-12-03 09:59 N3verL4nd
阅读(124)
评论(0)
推荐(0)
动态规划题目总结(一)
摘要: Pku acm 1163 the Triangle 动态规划题目总结(一) 题目:http://acm.pku.edu.cn/JudgeOnline/problem?id=1163 对于一个有数字组成的二叉树,求由叶子到根的一条路径,使数字和最大,如: ...
阅读全文
posted @ 2012-12-03 09:05 N3verL4nd
阅读(327)
评论(0)
推荐(0)
2012年12月2日
编辑距离问题
摘要: n题目描述 假设字符串的基本操作仅为:删除一个字符、插入一个字符和将一个字符修改成另一个字符这三种操作。 我们把进行了一次上述三种操作的任意一种操作称为进行了一步字符基本操作。 下面我们定义两个字符串的编辑距离:对于两个字符串a和b,通...
阅读全文
posted @ 2012-12-02 15:31 N3verL4nd
阅读(357)
评论(0)
推荐(0)
创建二维动态数组
摘要: 创建: int **dp = new int *[x+1]; for(i=0;i<=x;i++) dp[i] = new int[y+1]; 销毁: for(i=0;i<=x;i++) delete []dp[i]; delete []dp; ---
阅读全文
posted @ 2012-12-02 15:29 N3verL4nd
阅读(144)
评论(0)
推荐(0)
上一页
1
···
80
81
82
83
84
85
86
87
88
···
95
下一页
公告