- 博客(11)
- 收藏
- 关注
原创 UVa 127 "Accordian" Patience
DescriptionYou are to simulate the playing of games of ``Accordian'' patience, the rules for which are as follows:Deal cards one by one in a row from left to right, not overlapping. Whenever t
2015-07-22 14:02:05 396
原创 UVa10037 Bridge
n people wish to cross a bridge at night. A group of at most two people may cross at any time, and each group must have a flashlight. Only one flashlight is available among the n people, so some sor
2015-07-19 15:37:50 434
原创 UVA 10036 Divisibility
Consider an arbitrary sequence of integers. One can place + or - operators between integers in the sequence, thus deriving different arithmetical expressions that evaluate to different values. Let us,
2015-07-16 17:20:25 357
原创 UVa123 Searching Quickly
DescriptionBackgroundSearching and sorting are part of the theory and practice of computer science. For example, binary search provides a good example of an easy-to-understand algorithm with
2015-07-12 14:59:59 345
原创 UVa 755 487--3279
DescriptionBusinesses like to have memorable telephone numbers. One way to make a telephone number memorable is to have it spell a memorable word or phrase. For example, you can call the Unive
2015-07-10 14:47:30 346
原创 UVa400 Unix ls
DescriptionThe computer company you work for is introducing a brand new computer line and is developing a new Unix-like operating system to be introduced along with the new computer. Your assignme
2015-07-10 13:18:36 578
原创 UVa120 Stacks of Flapjacks
DescriptionBackgroundStacks and Queues are often considered the bread and butter of data structures and find use in architecture, parsing, operating systems, and discrete event simulation. S
2015-07-08 12:51:12 342
原创 acdream 1146 Moist
Problem DescriptionMoist has a hobby -- collecting figure skating trading cards. His card collection has been growing, and it is now too large to keep in one disorganized pile. Moist needs to sort
2015-07-07 13:42:04 380
原创 UVa 10474 Where is the Marble?
Raju and Meena love to play with Marbles. They have got a lot of marbles with numbers written on them. At the beginning, Raju would place the marbles one after another in ascending order of the number
2015-07-06 11:25:49 256
原创 UVA 10420 List of Conquests
In Act I, Leporello is telling Donna Elvira about his master's long list of conquests:``This is the list of the beauties my master has loved, a list I've made out myself: take a look, read it with m
2015-07-05 14:10:52 336
原创 UVA340 Master-Mind Hints
DescriptionMasterMind is a game for two players. One of them, Designer, selects a secret code. The other, Breaker, tries to break it. A code is no more than a row of colored dots. At the beginning
2015-07-05 12:30:03 261
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人