摘要: P7072 [CSP-J2020] 直播获奖 #include <bits/stdc++.h> using namespace std; const int maxn = 1e5 + 10; int n,w,cnt[610] = { 0 }; int main(){ ios::sync_with_s 阅读全文
posted @ 2025-09-17 09:14 Hazelxcf 阅读(4) 评论(0) 推荐(0)
摘要: P1115 最大子段和 妙 #include <bits/stdc++.h> using namespace std; #define int long long const int maxn = 2e5 + 10; int n,a[maxn],dp[maxn]; int ans = -100010 阅读全文
posted @ 2025-09-17 08:38 Hazelxcf 阅读(4) 评论(0) 推荐(0)