摘要: xmuoj #include<iostream> using namespace std; typedef long long ll; const ll mod = 1e9 + 7; const int N = 1e6 + 4; ll f[N][10]; void work(){ int n; ci 阅读全文
posted @ 2022-03-25 10:36 兮何其 阅读(28) 评论(0) 推荐(0)
摘要: xmuoj #include<iostream> #include<vector> using namespace std; typedef long long ll; const int N = 5e6 + 4; ll n, V, f[N], v[N], w[N], cnt[N]; struct 阅读全文
posted @ 2022-03-25 10:19 兮何其 阅读(36) 评论(0) 推荐(0)
摘要: xmuoj #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N = 1e6 + 4; ll f[N][2], n, k; const ll mod = 1e9 + 7; int main(){ 阅读全文
posted @ 2022-03-25 09:59 兮何其 阅读(37) 评论(0) 推荐(0)