![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数学
滑头鬼之亨
Frankiller
展开
-
uva 10025 - The ? 1 ? 2 ? ... ? n = k problem
The ? 1 ? 2 ? ... ? n = k problem The problemGiven the following formula, one can set operators '+' or '-' instead of each '?', in order to obtain a given k? 1 ? 2 ? ... ? n = k原创 2012-06-15 16:11:35 · 1064 阅读 · 0 评论 -
uva 10057 - A mid-summer night's dream.
Problem CA mid-summer night’s dreamInput:standard inputOutput:standard output This is year 2200AD. Science has progressed a lot in two hundred years. Two hundred years is mentioned here be原创 2012-08-22 20:36:40 · 2054 阅读 · 1 评论 -
uva 10499 - The Land of Justice
The Land of JusticeInput: standard inputOutput: standard outputTime Limit: 4 secondsIn the Land of Justice the selling price of everything is fixed all over the country. Nobody can buy a t原创 2012-06-18 14:57:52 · 1244 阅读 · 0 评论 -
uva 253 - Cube painting
Cube painting We have a machine for painting cubes. It is supplied with three different colors: blue, red and green. Each face of the cube gets one of these colors. The cube's faces are nu原创 2012-06-17 21:05:14 · 3358 阅读 · 0 评论 -
uva 10790 - How Many Points of Intersection?
How Many Points of Intersection? We have two rows. There are a dots on the top row andb dots on the bottom row. We draw line segments connecting every dot on the top row with every dot on原创 2012-06-18 20:44:21 · 827 阅读 · 0 评论 -
uva 10014 - Simple calculations
Simple calculations The ProblemThere is a sequence of n+2 elements a0, a1,…, an+1 (n i 1000). It is known thatai = (ai–1 + ai+1)/2 – ci for each i=1, 2, ..., n. You are given a0, a原创 2012-06-17 20:08:02 · 1072 阅读 · 0 评论 -
uva 10719 - Quotient Polynomial
A polynomial of degree n can be expressed asIf k is any integer then we can write:Here q(x) is called the quotient polynomial ofp(x) of degree (n-1) and r is any integer which is called th原创 2012-06-16 13:19:54 · 1277 阅读 · 0 评论 -
uva 10916 - Factstone Benchmark
Problem B: Factstone BenchmarkAmtel has announced that it will release a 128-bit computer chip by 2010, a 256-bit computer by 2020, and so on, continuing its strategy of doubling the word-size every原创 2012-06-16 10:14:42 · 816 阅读 · 0 评论 -
uva 846 - Steps
Steps One steps through integer points of the straight line. The length of a step must be nonnegative and can be by one bigger than, equal to, or by one smaller than the length of the previo原创 2012-06-16 21:40:42 · 875 阅读 · 0 评论 -
10041 - Vito's Family
Problem C: Vito's familyBackgroundThe world-known gangster Vito Deadstone is moving to New York. He has a very big family there, all of them living in Lamafia Avenue. Since he will原创 2012-09-03 18:32:39 · 1345 阅读 · 0 评论