
思维
文章平均质量分 89
于心有愧丶
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【Gym - 100482B Farmer 】 思维
B - FarmerJohn is a successful farmer and he would like to expand his business. For this reason he is going to buy a new plot of land to grow even more crops (and earn even more money). Curr原创 2017-08-01 13:18:44 · 470 阅读 · 0 评论 -
【CodeForces - 798C Mike and gcd problem】 思维+贪心
E - Mike and gcd problem Mike has a sequence A = [a1, a2, ..., an] of length n. He considers the sequence B = [b1, b2, ..., bn] beautiful if the gcd of all its elements is bigger t原创 2017-08-17 10:14:25 · 315 阅读 · 0 评论 -
【CodeForces - 808B Average Sleep Time】 思维
D - Average Sleep Time It's been almost a week since Polycarp couldn't get rid of insomnia. And as you may already know, one week in Berland lasts k days!When Polycarp went to a doct原创 2017-08-16 10:22:43 · 257 阅读 · 0 评论 -
【CodeForces - 821C Okabe and Boxes】 思维+模拟
D - Okabe and BoxesOkabe and Super Hacker Daru are stacking and removing boxes. There are n boxes numbered from 1 to n. Initially there are no boxes on the stack.Okabe, being a control fre原创 2017-08-14 15:28:54 · 416 阅读 · 0 评论 -
【CodeForces - 821B Okabe and Banana Trees】 思维
C - Okabe and Banana Trees Okabe needs bananas for one of his experiments for some strange reason. So he decides to go to the forest and cut banana trees.Consider the point (x, y) in原创 2017-08-14 15:10:18 · 405 阅读 · 0 评论 -
【Gym - 101498H Palindrome Number】 思维
H - Palindrome NumberA palindrome number is a number that can be read the same way from left to right and from right to left. For example: 961169, 111, 554455 are palindromes,原创 2017-08-26 21:30:19 · 1293 阅读 · 0 评论