目录 A - Seismic magnitude scales B - typo C - Select Mul D - Online games E - LEQ 发挥比较好的一场,就来搓篇题解。 F 没时间写了,最后只是口胡了一下(还不是很对,改 ...
A:Seismic magnitude scales 题意: 求 a b 。 思路: 直接求即可。 B:typo 题意: 定义一种操作为交换两个字符串相邻的字符,问是否能做到至多进行一次操作使得两个字符串相等。 len leq e 。 思路: 检查两个字符串对应位不相等的个数,如果不为 或 则无法完成,否则看两个不相等字符的是否相邻。 C:Select Mul 题意: 给定一个数 n leq n ...
2021-10-04 20:31 5 115 推荐指数:
目录 A - Seismic magnitude scales B - typo C - Select Mul D - Online games E - LEQ 发挥比较好的一场,就来搓篇题解。 F 没时间写了,最后只是口胡了一下(还不是很对,改 ...
比赛链接:https://atcoder.jp/contests/abc221/tasks A - Seismic magnitude scales 题意 给出两个正整数 \(a, b\) ,计算 \(32^{a - b}\) 。 \(3 \le b \le a \le ...
人生第一场 AtCoder,纪念一下 话说年后的 AtCoder 比赛怎么这么少啊(大雾 AtCoder Beginner Contest 154 题解 A - Remaining Balls We have A balls with the string S written ...
AtCoder Beginner Contest 177 题解 目录 AtCoder Beginner Contest 177 题解 A - Don't be late B - Substring C - Sum of product ...
AtCoder Beginner Contest 216 个人题解 比赛链接:AtCoder Beginner Contest 216 每篇一图 A题 Signed Difficulty 题目大意: 给出一个小数,根据小数部分改写 \(+,-\) 思路解析: 直接判断即可 AC ...
AtCoder Beginner Contest 173 题解 目录 AtCoder Beginner Contest 173 题解 A - Payment B - Judge Status Summary C - H and V ...
本场链接:AtCoder Beginner Contest 199 A - Square Inequality B - Intersection C - IPFL 为了实现操作2,不妨将原来的整个字符串切割成S1,S2。对于操作2,直接swap(s1,s2)即可。对于操作1,讨论 ...
\(A,B\) 题太水了,不说了(A题还错了一次) C题 Calendar Validator 有一张行数无限大,列数为 \(7\) 的矩阵,第 \(i\) 行第 \(j\) 列的值为 \((i- ...