摘要: 比赛链接:https://atcoder.jp/contests/abc165/tasks A - We Love Golf 题意 区间 $[a, b]$ 中是否存在 $k$ 的倍数。 代码 #include <bits/stdc++.h> using namespace std; int main 阅读全文
posted @ 2020-05-02 22:31 Kanoon 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 比赛链接:https://codeforces.com/contest/1348 A - Phoenix and Balance 题意 将长为偶数的等比数列 $2^1, 2^2, 2^3, ... , 2^n$ 分为两个长为 $\frac{n}{2}$,相差最小的子序列。 题解 原序列可以看做一个二 阅读全文
posted @ 2020-05-02 02:00 Kanoon 阅读(352) 评论(0) 推荐(1) 编辑