摘要:
G75 拉插 CF622F The Sum of the k-th Powers_哔哩哔哩_bilibili CF622F The Sum of the k-th Powers - 洛谷 // 拉插 O(klogM) #include <iostream> #include <cstring> #i 阅读全文
摘要:
E89 换根DP AT_dp_v Subtree_哔哩哔哩_bilibili AT_dp_v Subtree - 洛谷 // 换根DP O(n) #include<bits/stdc++.h> using namespace std; #define LL long long const int N 阅读全文