摘要: 又是一次初始化惹的货!!!超级水的贪心。。。害的我以为思路错误~~ ~#include#include#include#include#include#include#includeusing namespace std;struct Sub{ int dl, rs;}sub[1005];int flag[1005];bool cmp(Sub a, Sub b){ if(a.dl!=b.dl) return a.dlb.rs;}int main(){ int t, n, i, j, k, l, m, ans; scanf("%d",&t); while(t--){. 阅读全文
posted @ 2011-08-16 01:06 celia01 阅读(135) 评论(0) 推荐(0) 编辑