原创 UVa 400 - Unix ls

Unix ls The computer company you work for is introducing a brand new computer  line and is developing a new Unix-lik

原创 UVa 409 - Excuses, Excuses!

 Excuses, Excuses! Judge Ito is having a problem with people subpoenaed for jury duty giving rather lame excuses in ord

原创 UVa 152 - 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''

原创 UVa 10420 - List of Conquests

Problem BList of ConquestsInput:standard input Output: standard output Time Limit: 2 seconds In Act I, Leporello is tel

原创 UVa 299 - Train Swapping

Train Swapping At an old railway station, you may still encounter one of the last remaining ``train swappers''. A trai

原创 UVa 10474 - Where is the Marble?

Where is the Marble? Raju and Meena love to play with Marbles. They have got a lot of marbles with numbers written o

原创 UVa 644 - Immediate Decodability

Immediate Decodability An encoding of a set of symbols is said to be immediately decodable if no code for one symbol i

原创 UVa 465 - Overflow

  Overflow Write a program that reads an expression consisting of two non-negative integer and an operator. Determine

原创 UVa 340 - Master-Mind Hints

Master-Mind Hints MasterMind is a game for two players.  One of them, Designer, selects a secret code.  The other,  B

原创 UVa 156 - Ananagrams

Ananagrams Most crossword puzzle fans are used to anagrams--groups of words with the same letters in different orders-

原创 UVa 424 - Integer Inquiry

Integer Inquiry One of the first users of BIT's new supercomputer was Chip Diller. He extended his exploration of po