原文:AtCoder Beginner Contest 221【A - G】

比赛链接: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 推荐指数:

查看详情

AtCoder Beginner Contest 221 题解

A:Seismic magnitude scales 题意: 求 \((a-b)^{32}\) 。 思路: 直接求即可。 B:typo 题意: 定义一种操作为交换两个字符串相邻的字符,问 ...

Tue Oct 05 04:31:00 CST 2021 5 115
AtCoder Beginner Contest 216 【A - G

比赛链接:https://atcoder.jp/contests/abc216/tasks A - Signed Difficulty 题意 给出一个 x.y 形式的实数,按以下格式转换: \(0 \le y \le 2\) ,输出 x- \(3 \le y \le ...

Tue Aug 31 07:30:00 CST 2021 2 74
AtCoder Beginner Contest 167

比赛链接:https://atcoder.jp/contests/abc167/tasks A - Registration 题意 字符串 t 比字符串 s 长 1,除此外其余部分是否与 s 相同。 代码 B - Easy Linear Programming 题意 ...

Mon May 11 06:30:00 CST 2020 6 297
AtCoder Beginner Contest 160

比赛链接:https://atcoder.jp/contests/abc160/tasks AtCoder Beginner Contest 160 A - Coffee View Code B - Golden Coins ...

Tue Apr 07 04:31:00 CST 2020 13 217
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM