线性DP例题

线性DP例题拍照排列P263     Read more
Axell's avatar
Axell Feb 06, 2019

有限背包

有限背包设第i个物品有A[i]个,则在进行DP时,不能直接正/倒循环一遍,常用的方法是将同一个物品拆成若干个(二进制分解法),在用01背包的求法即可...     Read more
Axell's avatar
Axell Feb 06, 2019

约数

质因数分解单个数的分解...     Read more
Axell's avatar
Axell Jan 29, 2019

数学

数学,数论质数/ar...     Read more
Axell's avatar
Axell Jan 29, 2019

搜索例题

小木棍进阶指南P102 #include<bits/stdc++.h> using namespace std; int m,s...     Read more
Axell's avatar
Axell Jan 29, 2019