![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
uva
revstar_
分享快乐
展开
-
uva11059(最大乘积)
Problem D - Maximum ProductTime Limit: 1 secondGiven a sequence of integers S = {S1, S2, ..., Sn}, you should determine what is the value of the maximum positive product involving consecutiv原创 2015-07-27 20:04:35 · 1140 阅读 · 0 评论 -
UVA 10453
DescriptionBy definition palindrome is a string which is not changed when reversed. "MADAM" is a nice example of palindrome. It is an easy job to test whether a given string is a palindrome or n原创 2015-08-15 15:00:37 · 597 阅读 · 0 评论 -
UVA 1600
DescriptionA robot has to patrol around a rectangular area which is in a form of mxn grid (m rows andn columns). The rows are labeled from 1 to m. The columns are labeled from 1 to n. A cell原创 2015-07-22 15:30:05 · 578 阅读 · 0 评论 -
UVALive 6661
Let us consider sets of positive integers less than or equal to n. Note that all elements of a set aredi erent. Also note that the order of elements doesnt matter, that is, both f3; 5; 9g and f5; 9;原创 2015-07-31 21:02:13 · 497 阅读 · 0 评论 -
uva 673 Parentheses Balance
Parentheses BalanceYou are given a string consisting of parentheses () and []. A string of this type is said to becorrect:(a)if it is the empty string(b)if A and B are correct, AB is cor原创 2015-07-20 19:02:38 · 520 阅读 · 0 评论 -
uva 11462 - Age Sort
11462 - Age SortYou are given the ages (in years) of all people of a country with at least 1 year of age. You know thatno individual in that country lives for 100 or more years. Now, you are given原创 2015-07-17 09:35:05 · 480 阅读 · 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原创 2015-07-17 09:41:15 · 346 阅读 · 0 评论 -
Throwing cards away I uva1594
Throwing cards away IGiven is an ordered deck of n cards numbered 1 to n with card 1 at the top and card n at the bottom. The following operation is performed as long as there are at原创 2015-07-18 09:05:14 · 1062 阅读 · 0 评论 -
UVA_10763
题目来源:UVA_10763Foreign ExchangeInput: standard inputOutput: standard outputTime Limit: 1 secondYour non-profit organization (iCORE - international Confederation of Revolver Enthusiast原创 2015-07-18 10:38:30 · 495 阅读 · 0 评论 -
UVA 11877 Description
11877 - The Coco-Cola StoreOnce upon a time, there is a special coco-cola store. If you return three empty bottles to the shop,you'll get a full bottle of coco-cola to drink. If you have n empty原创 2015-07-17 09:57:37 · 358 阅读 · 0 评论 -
uva 10382
n sprinklers are installed in a horizontal strip of grass l meters long and w meters wide. Each sprinkler is installed at the horizontal center line of the strip. For each sprinkler we are given its p原创 2015-08-09 21:47:44 · 973 阅读 · 0 评论 -
uva 524(素数环)
DescriptionA ring is composed of n (even number) circles as shown in diagram. Put natural numbers into each circle separately, and the sum of numbers in two adjacent circles should be a prim原创 2015-07-27 20:09:44 · 2319 阅读 · 0 评论 -
uva725(除法)
DescriptionWrite a program that finds and displays all pairs of 5-digit numbers that between them use the digits0 through 9 once each, such that the first number divided by the second is equal原创 2015-07-27 19:58:45 · 623 阅读 · 0 评论 -
uva 10020
The ProblemGiven several segments of line (int the X axis) with coordinates [Li,Ri]. You are to choose the minimal amount of them, such they would completely cover the segment [0,M]. The Inp原创 2015-08-05 21:16:07 · 416 阅读 · 0 评论