08 2020 档案

摘要:最后一天,之后的十天就要转战文化课了 阅读全文
posted @ 2020-08-05 12:54 harryhqg 阅读(158) 评论(0) 推荐(0)
摘要:T1 排序(sort) 答案就是有逆序对的元素个数 因为可以把有逆序对的元素从大到小操作一遍就行 \(O(nlogn)\) 好像还有 \(O(n)\) 做法 orz #include <bits/stdc++.h> using namespace std; #define rep(i, a, b) 阅读全文
posted @ 2020-08-04 08:00 harryhqg 阅读(127) 评论(0) 推荐(0)
摘要:人均200+的水题大赛 自然AK T1 SJR 的西洋棋 送分,因为答案<=6,果断暴搜,复杂度 \(C(25,6)\) 有人说会爆栈但事实并不会 #include <bits/stdc++.h> using namespace std; #define rep(i, a, b) for (int 阅读全文
posted @ 2020-08-03 13:11 harryhqg 阅读(169) 评论(0) 推荐(0)
摘要:最近题有点多 这边就只能咕掉了 放一下STD T1 吴翼粉刷匠 #include <cstdio> #include <set> using namespace std; typedef long long llint; const int MAXN = 1000010; const int MOD 阅读全文
posted @ 2020-08-02 10:29 harryhqg 阅读(137) 评论(0) 推荐(0)
摘要:8月的第一天 这套题没打完就走了 只写了T1正解 其他两题放一下STD T1 八数码 #include <bits/stdc++.h> using namespace std; #define rep(i, a, b) for (int i = a; i <= b; i++) #define per 阅读全文
posted @ 2020-08-01 07:57 harryhqg 阅读(133) 评论(0) 推荐(0)