• 2024-11-11花海(贪心)
    usingnamespacestd;intmain(){intT;cin>>T;while(T--){intn,m;cin>>n>>m;intb[n],g[m];longlongsum=0;for(inti=0;i<n;i++){cin>>b[i];sum+=b[