![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
codeforces
文章平均质量分 73
哈士奇~
这个作者很懒,什么都没留下…
展开
-
cf 560 div3 -D
We guessed some integer number x. You are given a list of almost all its divisors. Almost all means that there are all divisors except 1 and x in the list.Your task is to find the minimum possible in...原创 2019-07-09 14:59:32 · 187 阅读 · 0 评论 -
cf 570 div3 D题解
原题This problem is actually a subproblem of problem G from the same contest.There are n candies in a candy box. The type of the i-th candy is ai (1≤ai≤n).You have to prepare a gift using some of the...原创 2019-08-13 15:33:31 · 155 阅读 · 0 评论 -
cf 535 div3 B 题解
(用心诠释什么叫心态炸裂)原题Recently you have received two positive integer numbers x and y. You forgot them, but you remembered a shuffled list containing all divisors of x (including 1 and x) and all divisors ...原创 2019-08-14 13:47:50 · 165 阅读 · 0 评论 -
580 div2 C题解
题目描述You are given integer n. You have to arrange numbers from 1 to 2n, using each of them exactly once, on the circle, so that the following condition would be satisfied:For every n consecutive numb...原创 2019-08-19 20:14:54 · 135 阅读 · 0 评论 -
559 div2B math 1300 题解
原文题目There are n boxers, the weight of the i-th boxer is ai. Each of them can change the weight by no more than 1 before the competition (the weight cannot become equal to zero, that is, it must remai...原创 2019-08-23 23:01:33 · 123 阅读 · 0 评论 -
cf 569 div2 B题解
题目原文Nick had received an awesome array of integers a=[a1,a2,…,an] as a gift for his 5 birthday from his mother. He was already going to explore its various properties but after unpacking he was disap...原创 2019-08-20 20:03:53 · 147 阅读 · 0 评论 -
497 div1 A sorting two pointers 1300
原文题目You are given an array of integers. Vasya can permute (change order) its integers. He wants to do it so that as many as possible integers will become on a place where a smaller integer used to st...原创 2019-08-27 21:43:43 · 163 阅读 · 0 评论 -
cf global 1 B greedy sortings 1400
原文题目You have a long stick, consisting of m segments enumerated from 1 to m. Each segment is 1 centimeter long. Sadly, some segments are broken and need to be repaired.You have an infinitely long rep...原创 2019-08-29 18:07:43 · 403 阅读 · 0 评论 -
div2 334 B binary search/ greedy 1400
原文题目Kevin Sun wants to move his precious collection of n cowbells from Naperthrill to Exeter, where there is actually grass instead of corn. Before moving, he must pack his cowbells into k boxes of a...原创 2019-09-10 21:32:47 · 134 阅读 · 0 评论