摘要:
#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
阅读(30)
评论(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
阅读(54)
评论(0)
推荐(0)

浙公网安备 33010602011771号