
ACM-检索.排序
文章平均质量分 80
路小白_zZ
这个作者很懒,什么都没留下…
展开
-
uva 340(检索)
题目:MasterMind 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 of a g原创 2014-07-10 20:16:36 · 834 阅读 · 0 评论 -
fzu 1891(排序)
题意:按升降序排列一个数组。题解:原创 2014-08-15 09:09:02 · 822 阅读 · 0 评论 -
uva 299(排序、检索)
题目:inputoutputsample inputsample output原创 2014-07-15 15:38:31 · 782 阅读 · 0 评论 -
uva 10194(排序、检索)
题目:Football the most popular sport in the world (americans insist to call it "Soccer", but we will call it "Football"). As everyone knows, Brasil is the country that have most World Cup titles (four原创 2014-07-13 17:23:02 · 972 阅读 · 0 评论 -
uva 400(排序、检索)
题目: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 along with the new computer. Your assignment is to w原创 2014-07-13 19:43:29 · 923 阅读 · 0 评论 -
uva 10785(排序、检索)
题目:inputoutputsample inputsample output原创 2014-07-13 19:15:38 · 651 阅读 · 0 评论 -
uva 755(排序、检索)
题目:Businesses like to have memorable telephone numbers. One way to make a telephone number memorableis to have it spell a memorable word or phrase. For example, you can call the University of Waterl原创 2014-07-13 19:16:27 · 885 阅读 · 0 评论 -
uva 156(排序、检索)
题目:Most 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 this attr原创 2014-07-13 16:58:12 · 738 阅读 · 0 评论 -
uva 123(排序、检索)
题目:Searching 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 sub-linear complexity.原创 2014-07-13 16:57:09 · 885 阅读 · 0 评论 -
uva 120(排序,检索)
题目:Stacks and Queues are often considered the bread and butter of data structures and find use in architecture, parsing, operating systems, and discrete event simulation. Stacks are also important原创 2014-07-10 20:59:42 · 1031 阅读 · 0 评论 -
uva 152(排序,检索)
题目:Dr William Larch, noted plant psychologist and inventor of the phrase ``Think like a tree--Think Fig'' has invented a new classification system for trees. This is a complicated system involving原创 2014-07-10 20:49:13 · 776 阅读 · 0 评论 -
uva 10420(排序)
题目: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, rea原创 2014-07-10 20:32:43 · 772 阅读 · 0 评论 -
uva 10474(排序,检索)
题目: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 n原创 2014-07-10 20:43:32 · 792 阅读 · 0 评论 -
uvalive 2963
题意:n个星球上都有一个广播,广播范围是r(和它范围不超过r都可听到广播),广播种类有A和B,如果一个星球可以听到的广播和自身广播不一样的有a个星球,一样的有b个星球,a > b说明这个星球是不稳定的,问给出一个r使不稳定星球尽量多,然后让r尽量少。题解:先把所有星球之间距离计算出来,然后根据距离排序,把所有距离相同的边放到一起计算不稳定星球的数量,找到最大数量星球,然后再更新r。原创 2015-03-27 21:20:13 · 746 阅读 · 0 评论