codeforces
文章平均质量分 83
.Cx_330.
AC是不存在的,WA才是正道
展开
-
C - Division by Two and Permutation
You are given an arrayaaconsisting ofnnpositive integers. You can perform operations on it. In one operation you can replace any element of the arraya_iaiwith\lfloor \frac{a_i}{2} \rfloor⌊2ai⌋, that is, by an integer part of dividinga_iaiby2...原创 2022-04-30 16:35:33 · 217 阅读 · 0 评论 -
H - Vlad and Candies
Not so long ago, Vlad had a birthday, for which he was presented with a package of candies. There werenntypes of candies, there area_iaicandies of the typeii(1 \le i \le n1≤i≤n). Vlad decided to eat exactly one candy every time, choosing any of the...原创 2022-04-30 16:24:27 · 256 阅读 · 0 评论 -
D - Game
You are playing a very popular computer game. The next level consists ofnnconsecutive locations, numbered from11tonn, each of them containing either land or water. It is known that the first and last locations contain land, and for completing the leve...原创 2022-04-30 16:20:39 · 258 阅读 · 0 评论