随笔分类 - 计算思维训练试题
F. 多项式化简 --combinatorics,implementation
摘要:1 #include <bits/stdc++.h> 2 using std::cin; 3 using std::cout; 4 using i64 = long long; 5 const int N = 100; 6 __int128 C[N][N]; 7 template<class T>
阅读全文
D.统计子区间乘积 -- dp
摘要:1 #include <bits/stdc++.h> 2 using std::cin; 3 using std::cout; 4 using i64 = long long; 5 const int N = 1e5 + 7; 6 int a[N]; 7 int dp[N],ep[N]; 8 int
阅读全文