HBC231446[HNOI2003]消防局的设立,贪心,树形dp,动态规划The Sum of the k-th Powers题解 求 ∑i=1nikmod(109+7 sum_{i=1}^ni^k bmod (10^9+7 ∑i=1nikmod(109+7 ... 算法基础篇 2023-11-15 59 #HBC231446[HNOI2003]消防局的设立 #贪心 #树形dp #动态规划The Sum of the k-th Powers题解