摘要:
#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 阅读全文