![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ICPC
whtfffffff
这个作者很懒,什么都没留下…
展开
-
2018宁夏邀请赛 补题
A 为什么搜不到题解 显然状压dp就行,但是没有想到很简便的处理三维二维的做法。 F. Clever King 最大权闭合子图裸题,直接dinic,要开longlong #include<iostream> #include <cstring> #include <cmath> #include <map> #include <vector> #include <algorithm> #define int ll using names原创 2021-05-29 21:55:51 · 101 阅读 · 1 评论 -
ICPC南京
发现简单题打了很久很久于是就没时间写稍微中等一些的题目了 基 础 不 牢 K 签到 要几个就左移前几位 L 模拟签到 后来好好补题了,这玩意我们在场上打了3小时,而且wa了5发 #include<bits/stdc++.h> const int N = 1e5 +5; const int INF = 1e9+5; using namespace std; int a[N],b[N]; set<int> s,sb; int t,n,m; void test(){ for(auto I原创 2020-12-22 17:39:04 · 158 阅读 · 0 评论 -
2020ICPC上海
G #include <bits/stdc++.h> using namespace std; #define ll long long ll n; ll a,b; int main() { cin >> n; ll a = n/3, b = n% 3; ll sum = (n - 3 +b)*a/2; //cout << sum << endl; sum += (a*(a+1)); cout << sum ; } M 队友打的,听说原创 2020-12-14 17:34:34 · 187 阅读 · 3 评论