摘要: //分数规划 //求形如 sigma(a[i])*w/sigma(b[i])*w 的极值 //这里w取值为0或1,代表这一项选或不选 #include<bits/stdc++.h> #define ll long long using namespace std; const int N = 1e5 阅读全文
posted @ 2021-10-05 17:49 starlightlmy 阅读(58) 评论(0) 推荐(0)