Transport Ship - 计蒜客

ps:看出是多重背包了,但不会计算方案数。 const int mod = 1000000007; const int N = 10005; int n, q, tot; int dp[N], v[N]; inline void upd(int &x, int y) { (x < y) && (x = y); } int main() { BEGIN() {
相关文章
相关标签/搜索