Shirlies
宁静专注认真的程序媛~
摘要: 题目:http://acm.hdu.edu.cn/showproblem.php?pid=1069这一题够折磨人,这一题难度在dp中只是1难度值,害惨我了,不过也学到了不少东西#include <iostream>#include "algorithm"using namespace std;struct blocks{int x,y,z;}jm[3*31];int dp[3*31];bool cmp(blocks a,blocks b)//这个sort排序要用到的东西,起初我是用指针的,汗,错死我了,我在想我到底应该怎样解决这类问题啊,找不到问题,思路又没有问 阅读全文
posted @ 2011-12-08 20:51 Shirlies 阅读(426) 评论(0) 推荐(0) 编辑