04 2022 档案

E. 喝饮料 -- math,dp
摘要:1 #include <bits/stdc++.h> 2 using std::cin; 3 using std::cout; 4 using i64 = long long; 5 constexpr int N = 1e3 + 5; 6 constexpr int P = 998244353; 7 阅读全文
posted @ 2022-04-21 20:25 OopsOops 阅读(21) 评论(0) 推荐(0) 编辑
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) 编辑
E - Wrapping Chocolate -- AC Beginner 245
摘要:1 #include<bits/stdc++.h> 2 3 typedef long long ll; 4 5 const int N = 4e5+10,M = N * 4,INF = 0x3f3f3f3f,mod = 1e9+7; 6 struct Node{ 7 int x,y; 8 bool 阅读全文
posted @ 2022-04-06 16:08 OopsOops 阅读(20) 评论(0) 推荐(0) 编辑
C - Choose Elements -- AC Beginner 245
摘要:https://atcoder.jp/contests/abc245/editorial/3655 阅读全文
posted @ 2022-04-06 10:20 OopsOops 阅读(24) 评论(0) 推荐(0) 编辑

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