摘要:
比赛链接:https://atcoder.jp/contests/abc043 A - Children and Candies (ABC Edit) 题目大意: 求 \(1+2+\ldots+n\)。 答案:\(\frac{n \cdot (n+1)}{2}\)。 示例程序: #include < 阅读全文
posted @ 2021-03-02 17:04
quanjun
阅读(108)
评论(0)
推荐(0)
摘要:
比赛链接:https://atcoder.jp/contests/abc042 A - Iroha and Haiku (ABC Edition) 题目大意: 给你三个数,判断能否组成一个 \(5,7,5\) 的排列。 示例程序: #include <bits/stdc++.h> using nam 阅读全文
posted @ 2021-03-02 14:04
quanjun
阅读(144)
评论(0)
推荐(0)