摘要: 题意:给出n个区间(a, b) (n#include#defineN5005structSeg{ints,e;}seg[N];intcmp(constvoid*a,constvoid*b){structSeg*x=(structSeg*)a;structSeg*y=(structSeg*)b;if(x->s==y->s)returnx->e-y->e;returnx->s-y->s;}intmain(){FILE*fin=fopen("milk2.in","r");FILE*fout=fopen("milk2 阅读全文
posted @ 2013-11-12 13:42 byluoluo 阅读(146) 评论(0) 推荐(0) 编辑