
数学
文章平均质量分 65
Dagon_
这个作者很懒,什么都没留下…
展开
-
Longest Subsequence CodeForces 632D 数学/筛法
You are given array a with n elements and the number m. Consider some subsequence of a and the value of least common multiple (LCM) of its elements. Denote LCM as l. Find any longest subsequence of a w原创 2017-11-08 16:57:34 · 243 阅读 · 0 评论 -
Maximal GCD CodeForces - 803C
You are given positive integer number n. You should create such strictly increasing sequence of k positive numbers a1, a2, …, ak, that their sum is equal to n and greatest common divisor is maximal.Gre原创 2017-11-05 17:02:35 · 283 阅读 · 0 评论