摘要: #include<stdio.h>#include<stdlib.h>struct g{ int l; int w; bool t;}sticks[2505];int cmp(const void *a,const void *b){ struct g *c=(g *)a; struct g *d=(g *)b; if(c->l!=d->l) return c->l-d->l; else return c->w-d->w;}int main(){ int i,j,t,n; int ans,temp; scanf("%d&qu 阅读全文
posted @ 2012-07-12 13:01 xxx0624 阅读(1202) 评论(1) 推荐(0) 编辑