codeforces
文章平均质量分 84
阿汤太菜了
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
codeforces C. Double-ended Strings
C. Double-ended Strings You are given the strings a and b, consisting of lowercase Latin letters. You can do any number of the following operations in any order: if |a|>0 (the length of the string a is greater than zero), delete the first character of t原创 2021-05-16 12:59:34 · 300 阅读 · 0 评论 -
Codeforces Round #618 (Div. 2), problem: (C) Anu Has a Function
** Anu Has a Function** Anu has created her own function f: f(x,y)=(x|y)−y where | denotes the bitwise OR operation. For example, f(11,6)=(11|6)−6=15−6=9. It can be proved that for any nonnegative numbers x and y value of f(x,y) is also nonnegative. She wo原创 2021-05-15 13:30:16 · 143 阅读 · 0 评论 -
每日一题2021.5.13 D. Corrupted Array
D. Corrupted Array You are given a number n and an array b1,b2,…,bn+2, obtained according to the following algorithm: some array a1,a2,…,an was guessed; array a was written to array b, i.e. bi=ai (1≤i≤n); The (n+1)-th element of the array b is the sum of t原创 2021-05-13 23:47:18 · 372 阅读 · 0 评论 -
B. National Project
B. National Project Your company was appointed to lay new asphalt on the highway of length n. You know that every day you can either repair one unit of the highway (lay new asphalt over one unit of the highway) or skip repairing. Skipping the repair is nec原创 2021-05-12 17:28:41 · 409 阅读 · 1 评论
分享