24h購物| | PChome| 登入
2014-04-18 22:56:27
2012-06-09 07:11:37

[UVA][java] 10523 - Very Easy !!!


THE SAMS' CONTEST Problem 4 VERY EASY !!! BACKGROUND Most of the times, the students of Computer Science & Engineering of BUET deal with bogus...

2012-06-08 22:11:06

[UVA][graph] 548 - Tree

Tree You are to determine the value of the leaf node in a given binary tree that is the terminal node of a path of least value from the root of the binary tree to any leaf. The value of a pat...

2012-06-08 16:57:05

[UVA] 320 - Border


Border You are to write a program that draws a border around a closed path into a bitmap, as displayed in the following figure: The path is closed and runs along the grid lines, i.e. betwee...

2012-06-08 14:13:07

[UVA][set使用] 10391 - Compound Words

Problem E: Compound Words You are to find all the two-word compound words in a dictionary. A two-word compound word is a word in the dictionary that is the concatenation of exactly two othe...

2012-06-08 13:39:54

[UVA][path] 452 - Project Scheduling


Project Scheduling A project management technique called Pert involves breaking a large project into a number of tasks, estimating the time required to perform each task, and determining which...

2012-06-08 07:02:45

[UVA][Math] 12444 - Bits and Pieces


Problem A: Bits and Pieces Let A and B be non-negative integers and let C = A&B and D = A|B. Given C and D, can you find A and B such that the absolute difference (|A-B|) is minimal? (A&am...

2012-06-08 06:35:47

[UVA] 11094 - Continents

Problem A Continents Time Limit: 1 Second Mijid the Great is the king of Dodars territory. He likes to travel between the cities in his territory and actually, you can never see him in t...

2012-06-07 21:54:03

[UVA][二分] 10566 - Crossed Ladders


Problem H Crossed Ladders Input: Standard Input Output: Standard Output Time Limit: 1 Second A narrow street is lined with tall buildings. An x foot long ladder is rested at the base o...

2012-06-07 21:35:17

[UVA][幾何] 833 - Water Falls


Water Falls Consider the set of line segments P1, P2 and P3 of figure 1, representing the side view of a set of planes. What happens if some water falls (in the vertical direction and ignorin...

2012-06-07 17:36:02

[UVA][遞迴] 155 - All Squares


All Squares Geometrically, any square has a unique, well-defined centre point. On a grid this is only true if the sides of the square are an odd number of points long. Since any odd number can be...

2012-06-07 15:20:02

[UVA][正環][spfa] 10557 - XYZZY


Problem D: XYZZY ADVENT: /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 fanta...

2012-06-07 08:01:09

[UVA][MST] 10397 - Connect the Campus


Problem E Connect the Campus Input: standard input Output: standard output Time Limit: 2 seconds Many new buildings are under construction on the campus of the University of Waterloo. The uni...

2012-06-06 22:07:02

[UVA][dfs] 165 - Stamps

Stamps The government of Nova Mareterrania requires that various legal documents have stamps attached to them so that the government can derive revenue from them. In terms of recent legislation, ...

2012-06-06 11:35:51

[UVA][EularCircuit] 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 below s...

2012-06-06 07:08:52

[UVA][sort] 612 - DNA Sorting


DNA Sorting One measure of ``unsortedness'' in a sequence is the number of pairs of entries that are out of order with respect to each other. For instance, in the letter sequence ``DAABEC'',...

第一頁      ‹上一頁       81 .  82 .  83 .  84 .  85 .  86 .  87 .  88 .  89 .  90 .      下一頁›      最末頁
«上十頁      第 88 / 142 頁 , 共 2116 筆       下十頁»      
TOP