会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Ke_scholar
管理
上一页
1
···
19
20
21
22
23
24
25
26
27
下一页
2023年7月30日
AtCoder Beginner Contest 312
摘要: # [AtCoder Beginner Contest 312](https://atcoder.jp/contests/abc312) ## [A - Chord (atcoder.jp)](https://atcoder.jp/contests/abc312/tasks/abc312_a) ``
阅读全文
posted @ 2023-07-30 22:40 Ke_scholar
阅读(58)
评论(0)
推荐(0)
2023年7月28日
SMU Summer 2023 Contest Round 7
摘要: # [SMU Summer 2023 Contest Round 7](https://codeforces.com/group/L9GOcnr1dm/contest/464081) ## [A. Two Rival Students](https://codeforces.com/group/L9
阅读全文
posted @ 2023-07-28 20:01 Ke_scholar
阅读(17)
评论(0)
推荐(0)
2023年7月26日
23暑假友谊赛No.2
摘要: 23暑假友谊赛No.2 A-雨_23暑假友谊赛No.2 (nowcoder.com) #include <bits/stdc++.h> using namespace std; signed main() { ios::sync_with_stdio(false);cin.tie(nullptr);
阅读全文
posted @ 2023-07-26 19:48 Ke_scholar
阅读(13)
评论(0)
推荐(0)
2023年7月25日
SMU Summer 2023 Contest Round 6
摘要: SMU Summer 2023 Contest Round 6 A. There Are Two Types Of Burgers 从0枚举到汉堡的最大个数,取最大值 #include <bits/stdc++.h> #define int long long using namespace std
阅读全文
posted @ 2023-07-25 15:57 Ke_scholar
阅读(18)
评论(0)
推荐(0)
2023年7月24日
Codeforces Round 886 (Div. 4)
摘要: # [Dashboard - Codeforces Round 886 (Div. 4) - Codeforces](https://codeforces.com/contest/1850) ## [A. To My Critics](https://codeforces.com/contest/1
阅读全文
posted @ 2023-07-24 19:47 Ke_scholar
阅读(73)
评论(0)
推荐(0)
AtCoder Beginner Contest 311
摘要: # Toyota Programming Contest 2023#4(AtCoder Beginner Contest 311) ## [A - First ABC (atcoder.jp)](https://atcoder.jp/contests/abc311/tasks/abc311_a) *
阅读全文
posted @ 2023-07-24 10:25 Ke_scholar
阅读(47)
评论(0)
推荐(0)
2023年7月23日
leetcode第 109 场双周赛
摘要: 6930. 检查数组是否是好的 - 力扣(LeetCode) 首先判断数组长度是不是最大值 + 1, 然后排个序,判断0到n - 2是不是都是1到最大值的一个排列,满足这些返回true就行了 class Solution { public: bool isGood(vector<int>& num)
阅读全文
posted @ 2023-07-23 18:50 Ke_scholar
阅读(12)
评论(0)
推荐(0)
2023年7月22日
第二次比赛出题题解
摘要: 第二次比赛题解 P1138 第 k 小整数 - 洛谷 | 计算机科学教育新生态 (luogu.com.cn) 主要了解set的用法,set会自动去重和排序 #include <bits/stdc++.h> using namespace std; signed main() { ios::sync_
阅读全文
posted @ 2023-07-22 18:50 Ke_scholar
阅读(36)
评论(0)
推荐(0)
2023年7月21日
SMU Summer 2023 Contest Round 5
摘要: SMU Summer 2023 Contest Round 5 A. Points in Segments \(\mathcal{O}(n \times m)\) 做法数据范围小,直接把每次的\(l - r\)跑一遍标记一下,最后跑一遍循环统计哪些没有被标记的并且输出就好了 #include <bi
阅读全文
posted @ 2023-07-21 17:03 Ke_scholar
阅读(8)
评论(0)
推荐(0)
关于时间复杂度
摘要: 时间复杂度 \(\mathcal{O}(1) < \mathcal{O}(log_2{N}) < \mathcal{O}(Nlog_2{N})<\mathcal{O}(N^2) < \mathcal{O}(N^3)<\mathcal{O}(2^N)<\mathcal{O}(N!)<\mathcal{
阅读全文
posted @ 2023-07-21 11:50 Ke_scholar
阅读(52)
评论(0)
推荐(0)
上一页
1
···
19
20
21
22
23
24
25
26
27
下一页
公告