摘要: 1 #include <iostream> 2 #include <cstring> 3 #include <cstdio> 4 #include <algorithm> 5 6 using namespace std; 7 8 #define maxn 100005 9 10 struct blo11 {12 int w;13 int d;14 }block[maxn];15 16 bool cmp(const blo&a,const blo&b)17 {18 return a.w+a.d<b.w+b.d;19 }20 2 阅读全文
posted @ 2012-09-21 12:52 Missa 阅读(140) 评论(0) 推荐(0) 编辑