Volume 1. Elementary Problem
文章平均质量分 88
校园苦行生
这个作者很懒,什么都没留下…
展开
-
401 - Palindromes
Uva401: Palindromes A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string "ABCDEDCBA" is a palindrome becaus原创 2013-06-13 11:19:54 · 413 阅读 · 0 评论 -
340 - Master-Mind Hints
Uva340 - Master-Mind Hints Master-Mind Hints MasterMind is a game for two players. One of them, Designer, selects asecret code. The other,Breaker, tries to break it. A原创 2013-07-13 09:44:00 · 665 阅读 · 0 评论 -
10420 - List of Conquests
Uva10420 - List of ConquestsProblem BList of ConquestsInput:standardinputOutput: standard outputTime Limit: 2 secondsIn Act I, Leporello is tellingDonna Elvira about his master's lon原创 2013-07-13 11:09:33 · 555 阅读 · 0 评论 -
10474 - Where is the Marble?
Uva10474 - Where is the Marble? Where is the Marble? Raju and Meena love to play with Marbles. They have got a lotof marbles with numbers written on them. At the beginnin原创 2013-07-13 17:10:28 · 422 阅读 · 0 评论 -
299 - Train Swapping
Uva299 - Train Swapping Train Swapping At an old railway station, you may still encounter one of the last remaining ``train swappers''. A train swapper is an employ原创 2013-07-16 14:46:42 · 351 阅读 · 0 评论 -
120 - Stacks of Flapjacks
Uva120 - Stacks of Flapjacks Stacks of Flapjacks BackgroundStacks and Queues are often considered the bread and butter of data structures and find use in architectu原创 2013-07-16 20:57:21 · 360 阅读 · 0 评论 -
400 - Unix ls
Uva400 - Unix ls Unix ls The computer company you work for is introducing a brand new computer line and is developing a new Unix-like operating system to be introduced原创 2013-07-17 21:00:10 · 560 阅读 · 0 评论 -
156 - Ananagrams
Uva156 - Ananagrams Ananagrams Most crossword puzzle fans are used to anagrams--groups of words with the same letters in different orders--for example OPTS, SPOT, STOP,原创 2013-07-17 18:34:11 · 659 阅读 · 0 评论 -
113 - Power of Cryptography
Uva113 - Power of Cryptography Power of Cryptography BackgroundCurrent work in cryptography involves (among other things) large prime numbers and computing powers o原创 2013-07-21 17:01:59 · 495 阅读 · 0 评论 -
123 - Searching Quickly
Uvaoj:123 - Searching Quickly Searching Quickly BackgroundSearching and sorting are part of the theory and practice of computer science. For example, binary search原创 2013-07-29 14:00:58 · 432 阅读 · 0 评论 -
10785 - The Mad Numerologist
Uvaoj10785 - The Mad Numerologist The Mad Numerologist Numerology is a science that is used by many people to find out a mans personality, sole purpose of life, de原创 2013-07-31 13:22:14 · 529 阅读 · 0 评论 -
10161 - Ant on a Chessboard
Uvaoj10161 - 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原创 2013-08-01 00:23:13 · 402 阅读 · 0 评论 -
152 - Tree's a Crowd
Uva152 - Tree's a Crowd Tree's a Crowd Dr William Larch, noted plant psychologist and inventor of the phrase``Think like a tree--Think Fig'' has invented a new classifica原创 2013-07-13 19:04:07 · 388 阅读 · 0 评论 -
10494 - If We Were a Child Again
Uva10494 - If We Were a Child AgainProblem CIfWe Were a Child AgainInput: standard inputOutput: standard outputTime Limit: 7 seconds “Oooooooooooooooh!If I could do the e原创 2013-07-12 16:03:54 · 487 阅读 · 0 评论 -
748 - Exponentiation
Uva748 Exponentiation Problems involving the computation of exact values of very large magnitudeand precision are common. For example, the computation of the nati原创 2013-07-12 10:35:07 · 445 阅读 · 0 评论 -
10010 - Where's Waldorf?
Uva10010: Where's Waldorf? Given a m by n grid of letters, ( ), and a list of words, find the location in the grid at which the word can be found. A word matches a strai原创 2013-06-13 14:59:32 · 357 阅读 · 0 评论 -
10361 - Automatic Poetry
Uva10361:Problem IAutomatic PoetryInput: standard inputOutput: standard outputTime Limit: 2 secondsMemory Limit: 32 MB “Oh God”, Lara Croft exclaims, “it’s one of these dumb ridd原创 2013-06-13 17:22:43 · 375 阅读 · 0 评论 -
537 - Artificial Intelligence?
Uva537: Artificial Intelligence? Physics teachers in high school often think that problems given as text are more demanding than pure computations. After all, the pupils h原创 2013-06-15 00:58:05 · 513 阅读 · 0 评论 -
409 - Excuses, Excuses!
Uva409: Excuses, Excuses! Judge Ito is having a problem with people subpoenaed for jury duty giving rather lame excuses in order to avoid serving. In order to reduce the am原创 2013-06-15 16:18:05 · 501 阅读 · 0 评论 -
10878 - Decode the tape
Uva10878:Problem ADecode the tapeTime Limit: 1 second"Machines take me by surprise with great frequency."Alan TuringYour boss has just unearthed a roll of old computer原创 2013-06-15 17:11:20 · 419 阅读 · 0 评论 -
10815 - Andy's First Dictionary
Uva10815:Problem B: Andy's First DictionaryTime limit: 3 secondsAndy, 8, has a dream - he wants to produce his very own dictionary. This is not an easy task for h原创 2013-06-16 01:12:08 · 382 阅读 · 0 评论 -
10115 - Automatic Editing
10115 - Automatic Editing Uva10115:Problem E: Automatic EditingSource file:autoedit.{c, cpp, java, pas}Input file:autoedit.inOutput file:autoedit.out原创 2013-06-16 20:57:30 · 393 阅读 · 0 评论 -
644 - Immediate Decodability
Uva644: Immediate Decodability An encoding of a set of symbols is said to be immediately decodable if no code for one symbol is the prefix of a code for another symbol. We原创 2013-06-16 10:34:40 · 443 阅读 · 0 评论 -
424 - Integer Inquiry
424 - Integer InquiryUva: Integer Inquiry One of the first users of BIT's new supercomputer was Chip Diller. He extended his exploration of powers of 3 to go from 0 to 33原创 2013-06-17 21:16:54 · 514 阅读 · 0 评论 -
465 - Overflow
465 - OverflowUva465: Overflow Write a program that reads an expression consisting of two non-negative integer and an operator. Determine if either integer or the result原创 2013-06-18 16:12:33 · 478 阅读 · 0 评论 -
10106 - Product
10106 - Product Uva10106: Product The ProblemThe problem is to multiply two integers X, Y. (0250)The InputThe input will consist of a set of pairs of lines. Eac原创 2013-06-18 14:07:15 · 455 阅读 · 0 评论 -
10194 - Football (aka Soccer)
UVaoj:10194 - Football (aka Soccer) Problem A: Football (aka Soccer) The ProblemFootball the most popular sport in the world (americans insist to call it "Soccer",原创 2013-07-28 18:23:20 · 545 阅读 · 0 评论