![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
高效
文章平均质量分 86
SPZn_up
这个作者很懒,什么都没留下…
展开
-
uva 10954 Add All(排序)
uva 10954 Add AllYup!! The problem name reflects your task; just add a set of numbers. But you may feel yourselves condescended, to write a C/C++ program just to add a set of numbers. Such原创 2015-02-14 17:03:29 · 769 阅读 · 0 评论 -
uva 10720 Graph Construction()
uva 10720 Graph ConstructionGraph is a collection of edges E and verticesV. Graph has a wide variety of applications in computer. There are different ways to represent graph in computer. It原创 2015-02-15 21:30:52 · 535 阅读 · 0 评论 -
uva 10602 Editor Nottoobad(字符串 + 排序)
uva 10602 Editor NottoobadCompany Macrohard has released it’s new version of editor Nottoobad, which can understand a few voice commands. Unfortunately, there are only two voice commands that原创 2015-02-14 16:56:21 · 634 阅读 · 0 评论 -
uva 10400 Game Show Math(深搜 )
uva 10400 Game Show MathA game show in Britain has a segment where it gives its contestants a sequence of positive numbers and a target number. The contestant must make a mathematical expression原创 2015-02-15 21:23:30 · 581 阅读 · 0 评论 -
uva 10714 Ants(贪心)
uva 10714 AntsAn army of ants walk on a horizontal pole of length l cm, each with a constant speed of 1 cm/s. When a walking ant reaches an end of the pole, it immediatelly falls off it. When tw原创 2015-02-12 22:56:24 · 607 阅读 · 0 评论 -
uva 11054 Wine trading in Gergovia (贪心 + 模拟)
uva 11054 Wine trading in GergoviaAs you may know from the comic "Asterix and the Chieftain's Shield", Gergovia consists of one street, and every inhabitant of the city is a wine salesman. You原创 2015-02-12 22:50:01 · 545 阅读 · 0 评论 -
uva 10700 Camel trading (模拟栈)
uva 10700 Camel tradingBackgroundAroud 800 A.D., El Mamum, Calif of Baghdad was presented the formula 1+2*3*4+5, which had its origin in the financial accounts of a camel transaction. The原创 2015-02-12 23:00:40 · 683 阅读 · 0 评论 -
uva 10085 The most distant state(BFS + HASH)
uva 10085 The most distant stateThe 8-puzzle is a square tray in which eight square tiles are placed. The remaining ninth square is uncovered. Each tile has a number on it. A tile that is原创 2015-02-12 22:26:52 · 576 阅读 · 0 评论 -
uva 10422 Knights in FEN(DFS + 回溯)
uva 10422 Knights in FENThere are black and white knights on a 5 by 5 chessboard. There are twelve of each color, and there is one square that is empty. At any time, a knight can move into an原创 2015-02-12 22:46:42 · 630 阅读 · 0 评论 -
uva 311 Packets(贪心)
uva 311 PacketsA factory produces products packed in square packets of the same height h and of the sizes , , , , , . These products are always delivered to customers in the square p原创 2015-02-12 22:35:47 · 656 阅读 · 0 评论 -
UVA 10341 Solve It(二分)
UVA 10341 Solve ItSolve the equation: p*e-x+q*sin(x) + r*cos(x) + s*tan(x) +t*x2 + u = 0 where 0 x .Input Input consists of multiple test cases and terminated by an E原创 2015-02-11 22:01:25 · 553 阅读 · 0 评论 -
uva 10706 Number Sequence(找规律)
uva 10706 Number SequenceA single positive integer iis given. Write a program to find the digit located in the positioniin the sequence of number groups S1S2…Sk. Each groupSkconsists o原创 2015-02-11 21:45:52 · 811 阅读 · 0 评论 -
UVA 10487 Closest Sums(二分)
UVA 10487 Closest SumsGiven is a set of integers and then a sequence of queries. A query gives you a number and asks to find a sum of two distinct numbers from the set, which is closest to原创 2015-02-11 21:38:51 · 490 阅读 · 0 评论 -
uva 270 Lining Up (几何)
uva 270 Lining Up ``How am I ever going to solve this problem?" said the pilot. Indeed, the pilot was not facing an easy task. She had to drop packages at specific points scattered原创 2015-02-11 22:05:33 · 535 阅读 · 0 评论 -
uva 10057 A mid-summer night’s dream(中位数)
uva 10057 A mid-summer night’s dreamThis is year 2200AD. Science has progressed a lot in two hundred years. Two hundred years is mentioned here because this problem is being sent back to 2000AD原创 2015-02-11 21:51:42 · 794 阅读 · 0 评论 -
uva 10474 Where is the Marble?(排序)
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 afte原创 2015-02-15 21:08:57 · 648 阅读 · 0 评论