正文
增加 5 行删除 5 行
141 行未改动全部展开14214314414514614714814915015115215315415515615715815914 行未改动17417517617717817918018118241 行未改动141 行未改动全部展开## 参考代码```cpp#include <bits/stdc++.h>using namespace std;using ll = long long;const ll INF = 1e18;const int S = 100;void upd(ll& a, ll b) { a = min(a, b); }int main() {ios::sync_with_stdio(false), cin.tie(nullptr);int t; cin >> t;while(t--) {14 行未改动sort(o.begin(), o.end(), [&] (ll x, ll y) { return l[x] < l[y]; });int pl = 0;vector<ll> dp(S * S, INF); dp[0] = 0;vector<ll> best(S + 1, 1e15);// computes expdp which is used to queryvector<ll> expdp;int bsi = 1;auto compute = [&] (int nsi) {41 行未改动141 行未改动全部展开14214314414514614714814915015115215315415515615715815914 行未改动17417517617717817918018118241 行未改动141 行未改动全部展开## 参考代码```cpp#include <bits/stdc++.h>using namespace std;using ll = long long;const ll INF = 1e18;const int S = 100;void upd(ll& a, ll b) { a = min(a, b); }int main() {ios::sync_with_stdio(false), cin.tie(nullptr);int t; cin >> t;while(t--) {14 行未改动sort(o.begin(), o.end(), [&] (ll x, ll y) { return l[x] < l[y]; });int pl = 0;vector<ll> dp(S * S, INF); dp[0] = 0;vector<ll> best(S + 1, 1e15);// computes expdp which is used to queryvector<ll> expdp;int bsi = 1;auto compute = [&] (int nsi) {41 行未改动