05 2021 档案

摘要:比赛链接:https://atcoder.jp/contests/abc202/tasks A - Three Dice #include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); c 阅读全文
posted @ 2021-05-25 17:20 Kanoon 阅读(147) 评论(0) 推荐(0)
摘要:比赛链接:https://pintia.cn/problem-sets/1392022091148099584/problems/type/7 7-1 自动编程 (5 分) #include <bits/stdc++.h> using namespace std; int main() { ios: 阅读全文
posted @ 2021-05-21 00:00 Kanoon 阅读(401) 评论(3) 推荐(1)
摘要:比赛链接:https://codeforces.com/contest/1525 A. Potion-making 题意 开始时有一口空的大锅,每次操作可以向锅中加入 \(1\) 升魔法精华或 \(1\) 升水,问使魔法精华的比例为 \(k\ \%\) 最少需要操作多少次。 题解 \(k\ \% = 阅读全文
posted @ 2021-05-19 18:30 Kanoon 阅读(90) 评论(0) 推荐(0)
摘要:题目链接:https://atcoder.jp/contests/abc200/tasks/abc200_e E - Patisserie ABC 2 题意 \(n^3\) 个三元组 \((x,y,z)\ (1 \le x,y,z \le n)\) 按照以下三个关键字从小到大排序: \(x + y 阅读全文
posted @ 2021-05-11 18:30 Kanoon 阅读(207) 评论(0) 推荐(0)
摘要:五一快乐 (~ ̄▽ ̄)~ 比赛链接:https://codeforces.com/contest/1519 A. Red and Blue Beans 题意 有 \(r\) 个红色豆子和 \(b\) 个蓝色豆子,需要将它们分成几包,要求每包: 至少有一个红色豆子 至少有一个蓝色豆子 两种颜色豆子的数 阅读全文
posted @ 2021-05-01 17:20 Kanoon 阅读(94) 评论(0) 推荐(0)