![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
UVA
文章平均质量分 87
hentaidesu
keep coding
展开
-
UVA1225 Digit Counting
DescriptionTrung is bored with his mathematics homeworks. He takes a piece of chalk and starts writing a sequence of consecutive integers starting with 1 toN(1 N . After that, he counts the n原创 2015-07-25 13:05:07 · 284 阅读 · 0 评论 -
Uva514-Rails(基本栈)
There is a famous railway station in PopPush City. Country there is incredibly hilly. The station was built in last century. Unfortunately, funds were extremely limited that time. It was possible to e原创 2015-11-30 19:55:17 · 3490 阅读 · 0 评论 -
Uva11300 - Spreading the Wealth
题目地址:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2275题目大意:n个人围成一个圆,每个人有一定的金币数量,然后每个人与左右两边的人交换硬币,这里注意,每个人只能和左右两边的人交换硬币,然后经过一些交换,最终使得每个人的金币数量相同。原创 2015-11-19 21:36:40 · 808 阅读 · 0 评论 -
Uva11292 The Dragon of Loowater
Once upon a time, in the Kingdom of Loowater, a minor nuisance turned into a major problem. The shores of Rellau Creek in central Loowater had always been a prime breeding ground for geese. Due to the原创 2015-11-18 20:43:59 · 325 阅读 · 0 评论 -
HDU1032&Uva100 The 3n + 1 problem
Problem DescriptionProblems in Computer Science are often classified as belonging to a certain class of problems (e.g., NP, Unsolvable, Recursive). In this problem you will be analyzing a property o原创 2015-11-22 16:44:03 · 329 阅读 · 0 评论 -
UVA156-Ananagrams
DescriptionMost crossword puzzle fans are used to anagrams--groups of words with the same letters in different orders--for example OPTS, SPOT, STOP, POTS and POST. Some words however do not have原创 2015-08-02 16:02:05 · 374 阅读 · 0 评论 -
UVA10815 - Andy's First Dictionary
DescriptionAndy, 8, has a dream - he wants to produce his very own dictionary. This is not an easy task for him, as the number of words that he knows is, well, not quite enough. Instead of thinkin原创 2015-08-02 16:17:18 · 539 阅读 · 0 评论 -
UVA101-The Blocks Problem
DescriptionBackground Many areas of Computer Science use simple, abstract domains for both analytical and empirical studies. For example, an early AI study of planning and robotics (STRIPS)原创 2015-08-01 21:41:35 · 433 阅读 · 0 评论 -
UVA1339-Ancient Cipher
DescriptionAncient Roman empire had a strong government system with various departments, including a secret service department. Important documents were sent between provinces and the capital in原创 2015-07-28 23:04:25 · 342 阅读 · 0 评论 -
UVA133-The Dole Queue
DescriptionIn a serious attempt to downsize (reduce) the dole queue, The New National Green Labour Rhinoceros Party has decided on the following strategy. Every day all dole applicants will be p原创 2015-07-28 22:58:48 · 203 阅读 · 0 评论 -
UVA489-Hangman Judge
DescriptionIn ``Hangman Judge,'' you are to write a program that judges a series of Hangman games. For each game, the answer to the puzzle is given as well as the guesses. Rules are the same as原创 2015-07-28 23:02:17 · 295 阅读 · 0 评论 -
UVA455 Periodic Strings
DescriptionA character string is said to have period k if it can be formed by concatenating one or more repetitions of another string of lengthk. For example, the string "abcabcabcabc" has perio原创 2015-07-25 14:00:55 · 532 阅读 · 0 评论 -
UVA227-Puzzle
https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=163DescriptionA children's puzzle that was popular 30 years ago consisted of a 5x5 frame w原创 2015-07-26 13:08:25 · 1965 阅读 · 0 评论 -
UVA1586 Molar mass
DescriptionAn organic compound is any member of a large class of chemical compounds whose molecules contain carbon. Themolar mass of an organic compound is the mass of one mole of the organic原创 2015-07-25 11:21:59 · 298 阅读 · 0 评论 -
UVA10340-All in all
DescriptionYou have devised a new encryption technique which encodes a message by inserting between its characters randomly generated strings in a clever way. Because of pending patent issues we wil原创 2015-07-26 13:10:37 · 277 阅读 · 0 评论 -
Uva 442-Matrix Chain Multiplication (基本栈)
Suppose you have to evaluate an expression like A*B*C*D*E where A,B,C,D and E are matrices. Since matrix multiplication is associative, the order in which multiplications are performed is arbitrary. H原创 2015-12-01 18:17:56 · 411 阅读 · 0 评论