首页 > 自然数拆分Lunatic版
头像 Gray_White
发表于 2020-11-05 00:56:33
因为 ,暴搜肯定会超时,所以我采用了分治和记忆化思想来解。 其他都好理解…… 上Mr.Code! #include <bits/stdc++.h> #define mod 19930125 using namespace std; int f[5001][5001]; int dec(i 展开全文