
贪心
文章平均质量分 79
Megumin
这个作者很懒,什么都没留下…
展开
-
Hdu1052 Tian Ji -- The Horse Racing
Problem Description Here is a famous story in Chinese history. "That was about 2300 years ago. General Tian Ji was a high official in the country Qi. He likes to play horse racing with the king原创 2016-07-12 18:35:53 · 400 阅读 · 0 评论 -
Hdu1051 Wooden Sticks
Problem Description There is a pile of n wooden sticks. The length and weight of each stick are known in advance. The sticks are to be processed by a woodworking machine in one by one fashion. It nee原创 2016-07-12 18:38:04 · 317 阅读 · 0 评论 -
Hdu1050 Moving Tables
Problem Description The famous ACM (Advanced Computer Maker) Company has rented a floor of a building whose shape is in the following figure. The floor has 200 rooms each on the north side原创 2016-07-12 18:41:25 · 287 阅读 · 0 评论 -
CodeForces712C Memory and De-Evolution 数学+贪心
Memory is now interested in the de-evolution of objects, specifically triangles. He starts with an equilateral triangle of side length x, and he wishes to perform operations to obtain an equilateral t原创 2016-09-15 13:12:02 · 451 阅读 · 0 评论 -
CodeForces733D Kostya the Sculptor 贪心+二分
Kosta is a genial sculptor, he has an idea: to carve a marble sculpture in the shape of a sphere. Kostya has a friend Zahar who works at a career. Zahar knows about Kostya's idea and wants to present原创 2016-11-01 13:43:47 · 574 阅读 · 0 评论 -
CodeForces723C Polycarp at the Radio 贪心
Polycarp is a music editor at the radio station. He received a playlist for tomorrow, that can be represented as a sequence a1, a2, ..., an, where ai is a band, which performs the i-th song. Polyc原创 2017-04-07 23:10:11 · 455 阅读 · 0 评论