摘要: C - Sowing Stones** (python解)-atcoder 原题链接: C - Sowing Stones 问题分析: 每个包含石头的单元格 X[i] 中有 A[i] 个石头。 我们需要确保每个单元格从 1 到 N 最终都有 1 个石头。 思路: 可用的石头总数必须等于单元格的总数。 阅读全文
posted @ 2024-11-10 15:54 元` 阅读(46) 评论(0) 推荐(0)
摘要: Alya and Permutation(python解)-codeforces 阅读全文
posted @ 2024-11-02 15:06 元` 阅读(57) 评论(0) 推荐(0)
摘要: Panasonic Programming Contest 2024(AtCoder Beginner Contest 375)C - Spiral Rotation(python解)** 原题链接: [(https://atcoder.jp/contests/abc375/tasks/abc375 阅读全文
posted @ 2024-10-23 21:01 元` 阅读(363) 评论(0) 推荐(1)