题意:给你a1~an,k,要求a1 + ... + ak < a2 + .... + ak+1 < a3 + ... + ak+2 <...,然后这里的ai有可能是?,要求你填?的数字,并且使a1~an的绝对值之和最小,不可能输出Incorrect sequence 思路:由上式要求我们可以得到a1 ...
分类:
其他好文 时间:
2019-04-11 22:13:42
阅读次数:
152
Habits of Considerate People体贴人的八种习惯哲学家亚瑟·叔本华曾经说过:“蜡之可贵,在于燃烧自己温暖他人,人之可贵,在于屈尊敬贤彬彬有礼”,事实的确如此。善意与体贴能够抚慰人心,让别人更容易接受你的想法。Philosopher Arthur Schopenhauer on ...
分类:
其他好文 时间:
2019-02-14 11:41:00
阅读次数:
186
今天写了一道题,RE了两次,WA了两次,改了很多遍,最后一遍修改的时候找到了问题; 难度:CF B; 重点:DFS+剪枝 题目 Vasya plays a computer game with ninjas. At this stage Vasya's ninja should get out of ...
分类:
其他好文 时间:
2019-01-30 00:17:40
阅读次数:
233
Arthur and his sister Caroll have been playing a game called Nim for some time now. Nim is played as follows: The starting position has a number of he ...
分类:
其他好文 时间:
2019-01-28 20:08:33
阅读次数:
123
There is a ball in a maze with empty spaces and walls. The ball can go through empty spaces by rolling up(u), down (d), left (l) or right (r), but it ...
分类:
其他好文 时间:
2018-12-22 11:44:21
阅读次数:
195
Annual Summery of Arthur Wang Content Zero.Introduction Annual Summery of 2015 Annual Summery of 2016 Annual Summery of 2017 Annual Summery of 2018 An ...
分类:
其他好文 时间:
2018-11-18 13:11:46
阅读次数:
138
Destroy Walls Long times ago, there are beautiful historic walls in the city. These walls divide the city into many parts of area. Since it was not co ...
分类:
其他好文 时间:
2018-11-15 01:34:25
阅读次数:
159
There is a ball in a maze with empty spaces and walls. The ball can go through empty spaces by rolling up, down, left or right, but it won't stop roll... ...
分类:
其他好文 时间:
2018-11-06 11:22:21
阅读次数:
158
There is a ball in a maze with empty spaces and walls. The ball can go through empty spaces by rolling up (u), down (d), left (l) or right (r), but it... ...
分类:
其他好文 时间:
2018-11-06 11:16:10
阅读次数:
179
There is a ball in a maze with empty spaces and walls. The ball can go through empty spaces by rolling up, down, left or right, but it won't stop roll... ...
分类:
其他好文 时间:
2018-11-06 11:09:54
阅读次数:
212