![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
搜索
滑头鬼之亨
Frankiller
展开
-
uva 301 - Transportation
Transportation Ruratania is just entering capitalism and is establishing new enterprising activities in many fields including transport. The transportation company TransRuratania is starti原创 2012-08-01 15:27:58 · 1908 阅读 · 1 评论 -
uva 196 - Spreadsheet
Spreadsheet In 1979, Dan Bricklin and Bob Frankston wrote VisiCalc, the first spreadsheet application. It became a huge success and, at that time, was the killer application for the Apple原创 2012-07-28 10:47:09 · 1463 阅读 · 0 评论 -
uva 193 - Graph Coloring
Graph Coloring You are to write a program that tries to find an optimal coloring for a given graph. Colors are applied to the nodes of the graph and the only available colors are black and原创 2012-07-30 17:19:40 · 1486 阅读 · 1 评论 -
uva 167 - The Sultan's Successors
The Sultan's Successors The Sultan of Nubia has no children, so she has decided that the country will be split into up tok separate parts on her death and each part will be inherited by原创 2012-07-30 20:21:12 · 1430 阅读 · 0 评论 -
uva 529 - Addition Chains
Addition Chains An addition chain for n is an integer sequence $" src="http://uva.onlinejudge.org/external/5/529img1.gif" width="168" align="middle" border="0"> with the following four pro原创 2012-08-15 16:16:55 · 870 阅读 · 0 评论 -
uva 208 - Firetruck
Firetruck The Center City fire department collaborates with the transportation department to maintain maps of the city which reflects the current status of the city streets. On any given d原创 2012-07-31 16:02:26 · 853 阅读 · 0 评论 -
uva 140 - Bandwidth
Bandwidth Given a graph (V,E) where V is a set of nodes and E is a set of arcs in VxV, and anordering on the elements in V, then the bandwidth of a node v is defined as the maximum dis原创 2012-07-31 19:32:04 · 761 阅读 · 1 评论 -
uva 10344 - 23 out of 5
Problem I23 Out of 5Input:standard inputOutput:standard outputTime Limit: 1 secondMemory Limit:32 MBYour task is to write a program that can decide whether you can find an arithmetic原创 2012-07-31 10:22:17 · 1458 阅读 · 1 评论 -
uva 216 - Getting in Line
Getting in Line Computer networking requires that the computers in the network be linked. This problem considers a ``linear" network in which the computers are chained together so that原创 2012-08-01 09:05:17 · 845 阅读 · 0 评论 -
uva 539 - The Settlers of Catan
The Settlers of Catan Within Settlers of Catan, the 1995 German game of the year, players attempt to dominate an island by building roads, settlements and cities across its uncharted wilde原创 2012-08-02 10:27:12 · 739 阅读 · 0 评论 -
uva 10012 - How Big Is It?
How Big Is It? Ian's going to California, and he has to pack his things, including his collection of circles. Given a set of circles, your program must find the smallest rectangular box in w原创 2012-08-01 16:51:20 · 1436 阅读 · 0 评论 -
uva 10085 - The most distant state
Problem AThe Most Distant StateInput:standard inputOutput:standard output The 8-puzzle is a square tray in which eight square tiles are placed. The remaining ninth square is uncovered. E原创 2012-08-18 16:19:20 · 1155 阅读 · 0 评论 -
uva 321 - The New Villa
The New Villa Mr. Black recently bought a villa in the countryside. Only one thing bothers him: although there are light switches in most rooms, the lights they control are often in other ro原创 2012-08-18 20:40:43 · 1048 阅读 · 0 评论 -
uva 10047 - The Monocycle
Problem A: The Monocycle A monocycle is a cycle that runs on one wheel and the one we will be considering is a bit more special. It has a solid wheel colored with five different colors as原创 2012-07-28 09:06:14 · 1391 阅读 · 0 评论 -
uva 10557 - XYZZY
Problem D: XYZZYADVENT: /ad�vent/, n.The prototypical computer adventure game, first designed by Will Crowther on the PDP-10 in the mid-1970s as an attempt at computer-refereed fantasy gaming,原创 2012-07-26 11:32:42 · 1789 阅读 · 4 评论 -
uva 639 - Don't Get Rooked
Don't Get Rooked In chess, the rook is a piece that can move any number of squares vertically or horizontally. In this problem we will consider small chess boards (at most 44) that can a原创 2012-08-02 09:34:10 · 742 阅读 · 0 评论 -
uva 331 - Mapping the Swaps
Mapping the Swaps Sorting an array can be done by swapping certain pairs of adjacent entries in the array. This is the fundamental technique used in the well-known bubble sort. If we list原创 2012-08-03 10:10:01 · 763 阅读 · 0 评论 -
uva 572 - Oil Deposits
Oil Deposits The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of land at a time, and creat原创 2012-07-21 17:23:35 · 781 阅读 · 0 评论 -
uva 439 - Knight Moves
Knight Moves A friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the shortest closed tour of knight moves that visits each square of a given set ofn squar原创 2012-07-22 11:07:43 · 545 阅读 · 0 评论 -
uva 10004 - Bicoloring
Bicoloring In 1976 the ``Four Color Map Theorem" was proven with the assistance of a computer. This theorem states that every map can be colored using only four colors, in such a way that no原创 2012-07-22 19:42:10 · 895 阅读 · 0 评论 -
uva 10422 - Knights in FEN
Problem DKnights in FENInput:standard inputOutput:standard outputTime Limit: 10 seconds There are black and white knights on a 5 by 5 chessboard. There are twelve of each color, and th原创 2012-08-07 15:38:32 · 1567 阅读 · 0 评论 -
uva 10054 - The Necklace
Problem D: The Necklace My little sister had a beautiful necklace made of colorful beads. Two successive beads in the necklace shared a common color at their meeting point. The figure belo原创 2012-07-24 09:59:20 · 1552 阅读 · 1 评论 -
uva 10603 - Fill
Problem DFill There are three jugs with a volume of a, b and c liters. (a, b, and c are positive integers not greater than 200). The first and the second jug are initially empty, while the t原创 2012-08-07 17:42:14 · 1340 阅读 · 0 评论 -
uva 11198 - Dancing Digits
Problem DDancing DigitsDigits like to dance. One day, 1, 2, 3, 4, 5, 6, 7 and 8 stand in a line to have a wonderful party. Each time, a male digit can ask a female digit to dance with him, or a原创 2012-08-08 10:41:07 · 1130 阅读 · 0 评论 -
uva 532 - Dungeon Master
Dungeon Master You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. It takes one minute to原创 2012-07-23 15:02:15 · 933 阅读 · 0 评论 -
uva 784 - Maze Exploration
Maze Exploration A maze of rectangular rooms is represented on a two dimensional grid as illustrated in figure 1a. Each point of the grid is represented by a character. The points of room原创 2012-07-24 17:12:33 · 770 阅读 · 0 评论 -
uva 657 - The die is cast
The die is cast InterGames is a high-tech startup company that specializes in developing technology that allows users to play games over the Internet. A market analysis has alerted them to原创 2012-07-25 16:31:38 · 1145 阅读 · 0 评论 -
uva 705 - Slash Maze
Slash Maze By filling a rectangle with slashes (/) and backslashes ( ), you can generate nice little mazes. Here is an example:As you can see, paths in the maze cannot branch, so t原创 2012-07-27 17:05:09 · 1583 阅读 · 0 评论