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() {
相關文章
相關標籤/搜索