版本比较
DP专题考试总结2
正文
增加 3 行删除 3 行
215 行未改动全部展开21621721821922022022122222322436 行未改动26126226326426526526626726826953 行未改动32332432532632732732832933033147 行未改动215 行未改动全部展开{ return u.x < v.x ;}long long dp[105][105] , minn = 8e18 ;int main() int main(){ ios::sync_with_stdio(0) ; cin.tie(0) ; cout.tie(0) ;36 行未改动```cpp#include <bits/stdc++.h>using namespace std ;int N , L ;int c[505] , l[505] ; int c[505] , l[505] ;long long dp[2005] ;int main(){ cin >> N >> L ;53 行未改动#include <bits/stdc++.h>using namespace std ;const int MAX_N = 100 ;const int MAX_SUM = 1e5 + 10 ;int w_arr[MAX_N + 10] ; int w_arr[MAX_N + 10] ;bool dp[2 * MAX_SUM] ;void solve(){ int n ;47 行未改动