上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页
摘要: Kochiya Sanae is a lazy girl who makes and sells bread. She is an expert at bread making and selling. She can sell the i-th customer a piece of bread ... 阅读全文
posted @ 2014-04-09 17:59 chen2013 阅读(286) 评论(0) 推荐(0)
摘要: 描述Diablo III is an action role-playing video game. A few days ago, Reaper of Souls (ROS), the new expansion of Diablo III, has been released! On hearing the news, the crazy video game nerd Yuzhi shouted: "I'm so excited! I'm so excited! I wanna kill the Diablo once more!"The ROS in 阅读全文
posted @ 2014-04-09 14:10 chen2013 阅读(522) 评论(0) 推荐(0)
摘要: Problem DescriptionDo you know Utopia? It's a perfect world in which everyone leads a happy life.A fairy wants to make a naive Utopia City. She studies the factors that have an impact on people's happiness and thinks that a person is happy if and only if all other persons' total "in 阅读全文
posted @ 2014-04-03 12:12 chen2013 阅读(337) 评论(0) 推荐(0)
摘要: Problem DescriptionMany of SKB Kontur programmers like to get to work by Metro because the main office is situated quite close the station Uralmash. So, since a sedentary life requires active exercises off-duty, many of the staff — Nikifor among them — walk from their homes to Metro stations on foot 阅读全文
posted @ 2014-03-31 21:16 chen2013 阅读(287) 评论(0) 推荐(0)
摘要: Problem DescriptionGiven a 2-dimensional array of positive and negative integers, find the sub-rectangle with the largest sum. The sum of a rectangle is the sum of all the elements in that rectangle. In this problem the sub-rectangle with the largest sum is referred to as the maximal sub-rectangle. 阅读全文
posted @ 2014-03-31 19:52 chen2013 阅读(207) 评论(0) 推荐(0)
摘要: Problem Description 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 = 14. Input The first line of the input contains an integer T(1 2 int main() 3 { 4 int t; 5 ... 阅读全文
posted @ 2014-03-31 19:10 chen2013 阅读(231) 评论(0) 推荐(0)
摘要: Problem Description FatMouse believes that the fatter a mouse is, the faster it runs. To disprove this, you want to take the data on a collection of mice and put as large a subset of this data as possible into a sequence so that the weights are increasing, but the speeds are decreasing. Input Input 阅读全文
posted @ 2014-03-31 12:56 chen2013 阅读(260) 评论(0) 推荐(0)
摘要: Problem DescriptionThere live square people in a square country. Everything in this country is square also. Thus, the Square Parliament has passed a law about a land. According to the law each citizen of the country has a right to buy land. A land is sold in squares, surely. Moreover, a length of a 阅读全文
posted @ 2014-03-28 14:51 chen2013 阅读(183) 评论(0) 推荐(0)
摘要: Problem DescriptionIf two people were born one after another with one second difference and one of them is a child, then the other one is a child too. We get by induction that all the people are children.Everyone knows that the mathematical department of the Ural State University is a big family of 阅读全文
posted @ 2014-03-27 16:57 chen2013 阅读(296) 评论(0) 推荐(0)
摘要: Problem DescriptionThe president of the Ural State University is going to make an 80'th Anniversary party. The university has a hierarchical structure... 阅读全文
posted @ 2014-03-27 12:09 chen2013 阅读(230) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 16 下一页