![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
水题
落雪染轻愁
这个作者很懒,什么都没留下…
展开
-
CodeForces-699C-Vacations
Vasya has n days of vacations! So he decided to improve his IT skills and do sport. Vasya knows the following information about each of this n days: whether that gym opened and whether a contest was ca原创 2016-07-22 22:35:01 · 303 阅读 · 0 评论 -
HDU-1003 Max Sum
Given a sequence a[1],a[2],a[3]……a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max sum in this sequence is 6 + (-1) + 5 + 4 =原创 2016-11-16 21:01:06 · 233 阅读 · 0 评论 -
CodeForces-709A. Juicer
Kolya is going to make fresh orange juice. He has n oranges of sizes a1, a2, …, an. Kolya will put them in the juicer in the fixed order, starting with orange of size a1, then orange of size a2 and so原创 2016-08-25 15:09:56 · 509 阅读 · 0 评论 -
CodeForces-710A. King Moves
The only king stands on the standard chess board. You are given his position in format “cd”, where c is the column from ‘a’ to ‘h’ and d is the row from ‘1’ to ‘8’. Find the number of moves permitted f原创 2016-08-24 12:28:44 · 365 阅读 · 0 评论 -
CodeForces-707A. Brain's Photos
Small, but very brave, mouse Brain was not accepted to summer school of young villains. He was upset and decided to postpone his plans of taking over the world, but to become a photographer instead.As原创 2016-08-21 21:03:39 · 321 阅读 · 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 评论 -
计蒜客-泥塑课
小米是一个幼儿园老师,每学期的泥塑课上,她都会给每个学生发不超过250立方厘米的等量橡皮泥,教大家做泥塑。在上课过程中,她发现每个班都恰好有一个小朋友会去抢另一个小朋友的橡皮泥,于是她决定,在正式开始做泥塑前,让大家把手里的橡皮泥都捏成一个立方体,并且测量手里捏好的橡皮泥的长、宽和高。这样,她就可以知道谁被谁抢了橡皮泥了。小米老师在不同的学期可能会带一个班或者同时带多个班,因此输入数据可能有一组或者原创 2016-08-20 18:09:23 · 303 阅读 · 0 评论 -
CodeForces-493A.Vasya and Football
Vasya has started watching football games. He has learned that for some fouls the players receive yellow cards, and for some fouls they receive red cards. A player who receives the second yellow card automatica原创 2016-08-06 22:38:04 · 303 阅读 · 0 评论 -
CodeForces-681B.Economy Game
Kolya is developing an economy simulator game. His most favourite part of the development process is in-game testing. Once he was entertained by the testing so much, that he found out his game-coin score become原创 2016-08-06 22:27:57 · 257 阅读 · 0 评论 -
HDU-2091 空心三角形
把一个字符三角形掏空,就能节省材料成本,减轻重量,但关键是为了追求另一种视觉效果。在设计的过程中,需要给出各种花纹的材料和大小尺寸的三角形样板,通过电脑临时做出来,以便看看效果。原创 2016-11-18 21:16:14 · 280 阅读 · 0 评论