
uva
revstar_
分享快乐
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
uva11059(最大乘积)
Problem D - Maximum Product Time Limit: 1 second Given 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 · 1194 阅读 · 0 评论 -
UVA 10453
Description By 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 · 638 阅读 · 0 评论 -
UVA 1600
Description A robot has to patrol around a rectangular area which is in a form of mxn grid (m rows and n 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 · 629 阅读 · 0 评论 -
UVALive 6661
Let us consider sets of positive integers less than or equal to n. Note that all elements of a set are di 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 · 528 阅读 · 0 评论 -
uva 673 Parentheses Balance
Parentheses Balance You are given a string consisting of parentheses () and []. A string of this type is said to be correct: (a)if it is the empty string(b)if A and B are correct, AB is cor原创 2015-07-20 19:02:38 · 560 阅读 · 0 评论 -
uva 11462 - Age Sort
11462 - Age Sort You 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 · 536 阅读 · 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 · 394 阅读 · 0 评论 -
Throwing cards away I uva1594
Throwing cards away I Given 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 · 1109 阅读 · 0 评论 -
UVA_10763
题目来源:UVA_10763 Foreign Exchange Input: standard input Output: standard output Time Limit: 1 second Your non-profit organization (iCORE - international Confederation of Revolver Enthusiast原创 2015-07-18 10:38:30 · 546 阅读 · 0 评论 -
UVA 11877 Description
11877 - The Coco-Cola Store Once 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 · 419 阅读 · 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 · 1024 阅读 · 0 评论 -
uva 524(素数环)
Description A 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 · 2422 阅读 · 0 评论 -
uva725(除法)
Description Write a program that finds and displays all pairs of 5-digit numbers that between them use the digits 0 through 9 once each, such that the first number divided by the second is equal原创 2015-07-27 19:58:45 · 682 阅读 · 0 评论 -
uva 10020
The Problem Given 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 · 461 阅读 · 0 评论