
回溯易
文章平均质量分 85
苏摩夜
持之以恒
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
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 an ordering on the elements in V, then the bandwidth of a node v is defined as the maximum dist原创 2014-10-29 11:31:55 · 455 阅读 · 0 评论 -
UVA 331
Mapping the SwapsSorting 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 the ident原创 2014-10-23 16:45:59 · 428 阅读 · 0 评论 -
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 star原创 2014-10-22 23:56:49 · 433 阅读 · 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原创 2014-10-30 23:19:48 · 515 阅读 · 0 评论 -
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 ex原创 2014-10-23 00:00:30 · 824 阅读 · 0 评论 -
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 to k separate parts on her death and each part will be inherited by原创 2014-10-28 23:54:33 · 537 阅读 · 0 评论 -
uva 10012 - 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 which they fit. All circ原创 2014-10-24 21:34:06 · 604 阅读 · 0 评论