版本比较
__OI SCP-S #1 题解
正文
增加 2 行删除 2 行
49 行未改动50515253545455565758595960616263192 行未改动全部展开49 行未改动#define int long long#define endl '\n'
const int N = 3e5 + 10;const int inf = 1e9; const int inf = 1e9;
int n,m,k;int a[N],b[N],dp[N];multiset <int> s0,s1;
void add (int x,int y){ if (x) s1.insert(y); s0.insert(y);}192 行未改动全部展开