2022年10月21日

AcWing80 骰子的点数(线性dp)

摘要: #define pb push_back class Solution { public: vector<int> numberOfDice(int n) { int f[15][100]; // 投i次,总和为j的投掷可能 memset(f, 0, sizeof(f)); for (int i = 阅读全文

posted @ 2022-10-21 22:14 chelly酱 阅读(24) 评论(0) 推荐(0)

导航