03 2022 档案

摘要:#include <bits/stdc++.h> #define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); #define endl "\n" using namespace std; typedef long long LL; co 阅读全文
posted @ 2022-03-06 23:53 Angels_of_Death 阅读(27) 评论(0) 推荐(0)
摘要:状态表示$f[i][j][l][sum]$ 从前$i$个选,且第$i$个数为$j$,加上j后的递减序列的长度为$l$,以及当前所有数的总和为$sum$的方案数 状态转移 \[ if (j >= k) \quad f[i][j][1][sum + j] = (f[i][j][1][sum + j] + 阅读全文
posted @ 2022-03-06 23:22 Angels_of_Death 阅读(50) 评论(0) 推荐(0)
摘要:#include <bits/stdc++.h> #define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); #define endl "\n" #define IT set<node>::iterator using namespac 阅读全文
posted @ 2022-03-04 23:38 Angels_of_Death 阅读(29) 评论(0) 推荐(0)
摘要:#include <bits/stdc++.h> #define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); #define endl "\n" #define LL long long using namespace std; con 阅读全文
posted @ 2022-03-01 23:09 Angels_of_Death 阅读(43) 评论(0) 推荐(0)