![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数学
落雪染轻愁
这个作者很懒,什么都没留下…
展开
-
CodeForces-660A-Co-prime Array
You are given an array of n elements, you must make it a co-prime array in as few moves as possible.In each move you can insert any positive integral number you want not greater than 109 in any place i原创 2016-07-22 22:54:23 · 355 阅读 · 0 评论 -
CodeForces-610B-Vika and Squares
Vika has n jars with paints of distinct colors. All the jars are numbered from 1 to n and the i-th jar contains ai liters of paint of color i.Vika also has an infinitely long rectangular piece of paper原创 2016-07-22 23:31:50 · 314 阅读 · 0 评论 -
Codeforces-B.Soldier and Badges - Codeforces Round #304 (Div. 2)
B. Soldier and Badges time limit per test3 seconds memory limit per test256 megabytes inputstandard input outputstandard原创 2016-07-23 23:20:01 · 290 阅读 · 0 评论 -
CodeForces-546D.Soldier and Number Game
Two soldiers are playing a game. At the beginning first of them chooses a positive integer n and gives it to the second soldier.原创 2016-07-24 22:44:46 · 314 阅读 · 0 评论 -
HDU-1700 Points on Cycle
There is a cycle with its center on the origin. Now give you a point on the cycle, you are to find out the other two points on it, to maximize the sum of the distance between each原创 2016-08-05 22:45:33 · 271 阅读 · 0 评论 -
CodeForces-630F.Selection of Personnel
One company of IT City decided to create a group of innovative developments consisting from 5 to 7 people and hire new employees for it. After placing an advertisment the company received n resumes. No原创 2016-08-08 23:15:21 · 309 阅读 · 0 评论 -
CodeForces-706A.Beru-taxi
Vasiliy lives at point (a, b) of the coordinate plane. He is hurrying up to work so he wants to get out of his house as soon as possible. New app suggested n available Beru-taxi nearby. The i-th taxi i原创 2016-08-20 18:56:15 · 591 阅读 · 0 评论 -
CodeForces-622A.Infinite Sequence
Consider the infinite sequence of integers: 1, 1, 2, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 4, 5…. The sequence is built in the following way: at first the number 1 is written out, then the numbers from 1 to 2,原创 2016-08-09 22:28:25 · 245 阅读 · 0 评论