- 博客(3)
- 资源 (2)
- 收藏
- 关注
原创 poj 1458 C++解法
考察知识:动态规划 #include using namespace std; int c[1000][1000]; int lcs(char* x, char* y, int m, int n) { int i,j; for (i = 0; i < m; i++) c[i][0] = 0;
2012-03-09 10:40:39
998
原创 poj 1230 C++解法
考察点:贪心策略思路:遍历每个column,如果这个column的wall数量n大于k,则抽掉其中n-k堵墙,抽掉墙的优先度按照墙横跨墙数超过k的column个数决定。Source CodeProblem: 1230 Memory: 328K Time: 0MS Language: C++ Result: Accepted Source Code #include
2012-03-09 10:33:49
440
北大ACM试题编号1017
2009-10-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅