摘要:
又是一次初始化惹的货!!!超级水的贪心。。。害的我以为思路错误~~ ~#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--){. 阅读全文