随笔分类 - AtCoder
摘要:AtCoder Beginner Contest 262 A-F https://atcoder.jp/contests/abc262 我太懒了,现在才发 A - World Cup 题意 给定y,找到>=y的离y最近的模4等于2的数 分析 如题 Code #include <bits/stdc++
阅读全文
摘要:AtCoder Beginner Contest 261 A-G https://atcoder.jp/contests/abc261 A - Intersection 题意 给两个区间,求相交的长度 分析 如题 注意考虑清楚各种情况 比如区间相交,包含,不相交 Code #include <bit
阅读全文
摘要:AtCoder Beginner Contest 260 https://atcoder.jp/contests/abc260/tasks A - A Unique Letter 题意 给定一个字符串,输出任意一个只出现了一次的字符 分析 直接模拟啦 Code #include <bits/stdc
阅读全文
摘要:AtCoder Beginner Contest 259 https://atcoder.jp/contests/abc259 A - Growth Record 按照题意模拟: #include <bits/stdc++.h> using namespace std; int main () {
阅读全文