- 博客(2)
- 资源 (3)
- 收藏
- 关注
原创 poj 2935 Basic Wall Maze bfs
http://poj.org/problem?id=2935 像这样的题还是要多练啊,不多说。还有许多需要改进的地方 #include #include #include #include #include using namespace std; struct node { int tlr, tlc; int trr, trc; int blr, blc; int b
2012-06-07 19:46:49 726
原创 杭电hdu 1248 寒冰王座 完全背包
http://acm.hdu.edu.cn/showproblem.php?pid=1248 注意与0-1背包的区别 #include #include int max(int a, int b) { return a > b ? a : b; } int main() { int t; int n; int arr[3] = {150, 200, 350}; int i,
2012-06-04 22:32:35 2997
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人