随笔分类 -  CodeForces

摘要:D题之后补吧 ###A.One and Two #include <bits/stdc++.h> using namespace std; #define endl '\n' #define cerr(x) std::cerr << (#x) << " is " << (x) << '\n' # 阅读全文
posted @ 2023-02-10 11:14 SxtoxA 阅读(20) 评论(0) 推荐(0) 编辑
摘要:一套题学到不少东西 ###A.Two Elevators 模拟 #include <bits/stdc++.h> using namespace std; #define endl '\n' #define cerr(x) std::cerr << (#x) << " is " << (x) << 阅读全文
posted @ 2023-01-19 15:50 SxtoxA 阅读(17) 评论(0) 推荐(0) 编辑
摘要:###A.Yes-Yes? 构造一个N=50的字符串,判断是不是子串即可。 #include <bits/stdc++.h> using namespace std; #define endl '\n' #define cerr(x) std::cerr << (#x) << " is " << 阅读全文
posted @ 2023-01-18 17:47 SxtoxA 阅读(30) 评论(0) 推荐(0) 编辑
摘要:挺有质量一套题 ###A.Number Replacement 对于数字串中出现次数2的数字,判断是否对应同一个字母,出现次数为1的数字没有贡献。 #include <bits/stdc++.h> using namespace std; #define endl '\n' #def 阅读全文
posted @ 2023-01-17 16:58 SxtoxA 阅读(23) 评论(0) 推荐(0) 编辑
摘要:###A.Parallel Projection #include <bits/stdc++.h> using namespace std; #define endl '\n' #define cerr(x) std::cerr << (#x) << " is " << (x) << '\n' #d 阅读全文
posted @ 2023-01-16 13:07 SxtoxA 阅读(53) 评论(0) 推荐(0) 编辑
摘要:###A 模拟题,不多说。 时间复杂度O(3) #include<iostream> #include<cstdio> #include<cstring> #include<map> const char ch[] = {'L', 'M', 'S'}; std::string s[2]; std 阅读全文
posted @ 2022-10-12 16:08 SxtoxA 阅读(49) 评论(0) 推荐(0) 编辑

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