随笔分类 -  AtCoder

摘要:AtCoder Beginner Contest 262 A-F https://atcoder.jp/contests/abc262 我太懒了,现在才发 A - World Cup 题意 给定y,找到>=y的离y最近的模4等于2的数 分析 如题 Code #include <bits/stdc++ 阅读全文
posted @ 2022-08-02 22:26 Sakana~ 阅读(253) 评论(5) 推荐(2) 编辑
摘要:AtCoder Beginner Contest 261 A-G https://atcoder.jp/contests/abc261 A - Intersection 题意 给两个区间,求相交的长度 分析 如题 注意考虑清楚各种情况 比如区间相交,包含,不相交 Code #include <bit 阅读全文
posted @ 2022-07-25 22:37 Sakana~ 阅读(266) 评论(4) 推荐(3) 编辑
摘要:AtCoder Beginner Contest 260 https://atcoder.jp/contests/abc260/tasks A - A Unique Letter 题意 给定一个字符串,输出任意一个只出现了一次的字符 分析 直接模拟啦 Code #include <bits/stdc 阅读全文
posted @ 2022-07-21 11:42 Sakana~ 阅读(349) 评论(3) 推荐(0) 编辑
摘要:AtCoder Beginner Contest 259 https://atcoder.jp/contests/abc259 A - Growth Record 按照题意模拟: #include <bits/stdc++.h> using namespace std; int main () { 阅读全文
posted @ 2022-07-09 23:53 Sakana~ 阅读(176) 评论(0) 推荐(0) 编辑

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