随笔分类 -  计算思维训练试题

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> 阅读全文
posted @ 2022-04-21 18:28 OopsOops 阅读(51) 评论(0) 推荐(0) 编辑
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 阅读全文
posted @ 2022-04-20 11:05 OopsOops 阅读(37) 评论(0) 推荐(0) 编辑

 
点击右上角即可分享
微信分享提示