![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数学
文章平均质量分 80
苏摩夜
持之以恒
展开
-
UVA - 10161 Ant on a Chessboard
Problem A.Ant on a Chessboard Background One day, an ant called Alice came to an M*M chessboard. She wanted to go around all the grids. So she began to walk along the chessboard according to原创 2014-08-08 19:44:05 · 356 阅读 · 0 评论 -
UVA - 591 Box of Bricks
Little Bob likes playing with his box of bricks. He puts the bricks one upon another and buildsstacks of different height. ``Look, I've built a wall!'', he tells his older sister Alice. ``Nah, you sho原创 2014-08-10 11:30:43 · 502 阅读 · 0 评论 -
UVA - 573 The Snail
题意:原创 2014-08-10 12:27:15 · 400 阅读 · 0 评论 -
UVA - 10025 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 = kFor example: to obtain k = 12 , the expression to b原创 2014-08-10 11:21:55 · 505 阅读 · 0 评论 -
UVA - 10014 Simple calculations
The ProblemThere is a sequence of n+2 elements a0, a1, , an+1 (n i 1000). It is known thatai = (ai1 + ai+1)/2 ci for each i=1, 2, ..., n. You are given a0, an+1, c1, ... , cn. Write a progr原创 2014-08-11 10:13:06 · 513 阅读 · 0 评论 -
UVA - 11044 Searching for Nessy
Searching for Nessy The Loch Ness Monsterisa mysterious and unidentified animal said to inhabit Loch Ness, a large deep freshwaterloch near the cityof Inverness in northern Scotland. Nes原创 2014-08-10 14:41:13 · 452 阅读 · 0 评论 -
UVA - 621 Secret Research
Secret Research At a certain laboratory results of secret research are thoroughly encrypted. A result of a single experiment is stored as an information of its completion:`positive r原创 2014-08-10 11:13:44 · 418 阅读 · 0 评论 -
UVA - 10970 Big Chocolate
Mohammad has recently visited Switzerland. As he loves his friends very much, he decided to buy some chocolate for them, but as this fine chocolate is very expensive(You know Mohammad is a little BIT原创 2014-08-11 09:18:45 · 463 阅读 · 0 评论 -
UVA - 10719 Quotient Polynomial
Problem BQuotient PolynomialTime Limit2 SecondsA polynomial of degree n can be expressed asIf k is any integer then we can write:Here q(x) is called the quotien原创 2014-08-10 15:58:17 · 404 阅读 · 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 prev原创 2014-08-10 12:59:59 · 387 阅读 · 0 评论 -
UVA - 10177 (2/3/4)-D Sqr/Rects/Cubes/Boxes?
Problem J (2/3/4)-D Sqr/Rects/Cubes/Boxes?Input: standard input Output: standard output Time Limit: 2 seconds You can see a (4x4) grid below. Can you tell me how many squares and rectang原创 2014-08-10 18:40:27 · 410 阅读 · 0 评论 -
UVA - 10790 How Many Points of Intersection?
We have two rows. There are a dots on the toprow andb dots on the bottom row. We draw line segments connecting every dot on the top row with every dot on the bottom row. The dots are arranged in suc原创 2014-08-10 14:01:07 · 416 阅读 · 0 评论 -
UVA - 10499 The Land of Justice
Problem HThe 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原创 2014-08-10 13:23:06 · 550 阅读 · 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原创 2014-08-10 11:08:37 · 354 阅读 · 0 评论 -
UVA - 113 Power of Cryptography
Power of Cryptography BackgroundCurrent work in cryptography involves (among other things) large prime numbers and computing powers of numbers modulo functions of these primes. Work in t原创 2014-08-08 19:44:55 · 373 阅读 · 0 评论 -
UVA - 107 The Cat in the Hat
Background(An homage to Theodore Seuss Geisel) The Cat in the Hat is a nasty creature,But the striped hat he is wearing has a rather nifty feature. With one flick of his wrist he pops his top原创 2014-08-10 11:37:15 · 671 阅读 · 1 评论