A:Seismic magnitude scales 题意: 求 \((a-b)^{32}\) 。 思路: 直接求即可。 B:typo 题意: 定义一种操作为交换两个字符串相邻的字符,问 ...
比赛链接:https: atcoder.jp contests abc tasks A Seismic magnitude scales 题意 给出两个正整数 a, b ,计算 a b 。 le b le a le 题解 a b a b 。 代码 B typo 题意 给出两个字符串 s, t ,判断能否交换 s 中至多一对相邻字符,使得 s 与 t 相同。 le s t le 题解 枚举交换的位置 ...
2021-10-08 17:00 0 100 推荐指数:
A:Seismic magnitude scales 题意: 求 \((a-b)^{32}\) 。 思路: 直接求即可。 B:typo 题意: 定义一种操作为交换两个字符串相邻的字符,问 ...
目录 A - Seismic magnitude scales B - typo C - Select Mul D - Online games E - LEQ ...
比赛链接:https://atcoder.jp/contests/abc216/tasks A - Signed Difficulty 题意 给出一个 x.y 形式的实数,按以下格式转换: \(0 \le y \le 2\) ,输出 x- \(3 \le y \le ...
比赛链接:https://atcoder.jp/contests/abc219/tasks A - AtCoder Quiz 2 题意 给出一个分数 \(x\) ,共分为四级: \(0 \le x \lt 40\) \(40 \le x \lt 70\) \(70 \le x ...
比赛链接:https://atcoder.jp/contests/abc167/tasks A - Registration 题意 字符串 t 比字符串 s 长 1,除此外其余部分是否与 s 相同。 代码 B - Easy Linear Programming 题意 ...
传送门 A - Sheep and Wolves A.cpp B - Battle B.cpp C - gacha ...
比赛链接:https://atcoder.jp/contests/abc160/tasks AtCoder Beginner Contest 160 A - Coffee View Code B - Golden Coins ...
传送门 A - Circle Pond A.cpp B - Homework B.cpp C - management ...