摘要: A - Hamming Distance 题意 思路 模拟 代码 点击查看代码 #include<bits/stdc++.h> #include<unordered_set> #include<unordered_map> using namespace std; #define int long 阅读全文
posted @ 2025-03-31 09:39 _SeiI 阅读(15) 评论(0) 推荐(0) 编辑
摘要: A - Two-star Contest 题意 思路 答奋题,贴队友的代码 代码 点击查看代码 #include<bits/stdc++.h> #define int long long #define endl '\n'; #define inf 1e18 using namespace std; 阅读全文
posted @ 2025-03-26 22:06 _SeiI 阅读(16) 评论(0) 推荐(0) 编辑
摘要: A - Thermometer 题意 思路 模拟 代码 点击查看代码 #include<bits/stdc++.h> #include<unordered_set> #include<unordered_map> using namespace std; #define int long long 阅读全文
posted @ 2025-03-16 22:02 _SeiI 阅读(30) 评论(0) 推荐(0) 编辑
摘要: A - Triple Four 题意 思路 模拟 代码 点击查看代码 #include<bits/stdc++.h> #include<unordered_set> #include<unordered_map> using namespace std; #define int long long 阅读全文
posted @ 2025-03-08 23:12 _SeiI 阅读(75) 评论(0) 推荐(0) 编辑
摘要: A - Strictly Increasing? 题意 思路 模拟 代码 点击查看代码 #include<bits/stdc++.h> #include<unordered_set> #include<unordered_map> using namespace std; #define int l 阅读全文
posted @ 2025-03-02 22:06 _SeiI 阅读(31) 评论(0) 推荐(0) 编辑
摘要: A - Was there an Array? 题意 思路 有“101”就无解 代码 点击查看代码 #include<bits/stdc++.h> #include<unordered_set> #include<unordered_map> using namespace std; #de 阅读全文
posted @ 2025-02-26 22:52 _SeiI 阅读(29) 评论(0) 推荐(0) 编辑
摘要: A - 22222 题意 给定字符串s,删除所有除2的字符 思路 模拟 代码 点击查看代码 #include<bits/stdc++.h> #include<unordered_set> #include<unordered_map> using namespace std; #de 阅读全文
posted @ 2025-02-25 19:49 _SeiI 阅读(13) 评论(0) 推荐(0) 编辑
摘要: A - Brogramming Contest 题意 给定长为n01s和空串t,每次操作可以将s的后缀移到t末尾,或将t的后缀移到s末尾。求使得s中全是0t中全是1的最小操作数 思路 \(01,10 阅读全文
posted @ 2025-02-18 00:14 _SeiI 阅读(43) 评论(0) 推荐(0) 编辑
摘要: A - Poisonous Oyster 题意 两个人A,B4种东西,A1,2B1,3,给出两人状态finesick,问哪种食物有毒 思路 模拟 代码 点击查看代码 #include<bits/stdc++.h> #inclu 阅读全文
posted @ 2025-02-16 20:13 _SeiI 阅读(24) 评论(0) 推荐(0) 编辑
摘要: A - Adjacent Digit Sums 题意 问是否存在一个n使得S(n+1)=S(n)+1,其中S(x)表示x的数位和 思路 代码 点击查看代码 #include<bits/stdc++.h> #include<unordered_set> using na 阅读全文
posted @ 2025-02-14 22:59 _SeiI 阅读(53) 评论(0) 推荐(0) 编辑
more_horiz
keyboard_arrow_up dark_mode palette
选择主题
点击右上角即可分享
微信分享提示