24h購物| | PChome| 登入
2014-04-18 22:56:27
2013-12-11 07:51:46

[UVA] 10441 - Catenyms

Problem C: Catenyms A catenym is a pair of words separated by a period such that the last letter of the first word is the same as the first letter of the second. For example, the following are ca...

2013-12-10 08:38:49

[UVA][floyd] 10436 - Cheapest way

Brightness of Brain Contest Problem H Time limit: 1 second Memory: 32 MB Cheapest way The Problem ``Moutushi Enterprise'' a leading transport company of Bangladesh is quite an...

2013-12-10 08:32:55

[UVA][dp] 10421 - Critical Wave


Problem C Critical Wave Input: standard input Output: standard output Time Limit: 10 seconds The task is simple. Through some critical points in 2D, you are to draw a wave like curve. Y...

2013-12-10 08:28:15

[UVA][空間幾何] 10495 - Conic Distance


Problem D Conic Distance Input: standard input Output: standard output Time Limit: 2 seconds A cone is located in 3D such that its base of radius r is in the z = 0 plane with the center at ...

2013-12-10 08:22:03

[UVA][greedy] 12520 - Square Garden

Square Garden The farmer Rick has a square garden of side L meters long, divided in a grid with L2 square modules, each one of side 1 meter long. Rick wants to cultivate N modules of the garde...

2013-12-08 21:04:27

[高等演算法] 雜

高等演算法 第 4 次作業1. For two points p and q in the plane, we say that p dominates q if both x and y coordinates of p are greater than that of q respectively. Given a set S of n points, the rank of...

2013-12-05 16:44:26

[UVA][IDA*] 851 - Maze


Maze You have been blindfolded and deposited someplace in a maze. You have no idea where you are. You do know, however, that the maze is laid out on a grid, and that each grid location is eithe...

2013-12-05 16:38:29

[UVA][LCA][Tarjan] 12238 - Ants Colony


A group of ants is really proud because they built a magnificent and large colony. However, the enormous size has become a problem, because many ants do not know the path between some parts of t...

2013-12-05 16:33:23

[UVA][影像四分樹] 874 - 2D Representations


2D Representations Background A 2D raster image is defined by a matrix of points or pixels. In a black and white raster image, each pixel (a matrix element) can be black (full) or white ...

2013-12-05 16:30:06

[UVA][Easy] 12658 - Character Recognition

Write a program that recognizes characters. Don't worry, because you only need to recognize threedigits: 1, 2 and 3. Here they are:.*. *** ***.*. ..* ..*.*. *** ***.*. *.. ..*.*. *** ***SampleInput3.*...

2013-12-05 16:27:14

[UVA][排容原理] 11806 - Cheerleaders


C Cheerleaders In most professional sporting events, cheerleaders play a major role in entertaining the spectators. Their roles are substantial during breaks and prior to...

2013-12-05 16:22:15

[UVA][dp] 11654 - Arithmetic Subsequence


I Arithmetic Subsequence Input: Standard Input Output: Standard Output A sequence of numbers is said to be arithmetic if there is a constant difference between ...

2013-12-05 16:18:11

[UVA][數學] 11648 - Divide The Land


C Divide the Land Input: Standard Input Output: Standard Output Mr. Rahim Mia has some lands of trapezium shape. He wants to divide each of the lands between his ...

2013-12-05 16:13:41

[UVA] 11132 - Dice from pennies


Problem D: Dice from pennies Colin likes to play role playing games. These games usually involve dice with varying numbers of sides; a 20 sided die is known as a D20 (marked 1-20 inclusive), a...

2013-12-05 16:10:12

[UVA][數學] 11170 - Cos(NA)


Problem F Cos(NA) Input: Standard Input Output: Standard Output Have you ever looked at formulae of the form Cos(NA)? If you haven’t looked at them yet, just look at them now: ...

第一頁      ‹上一頁       1 .  2 .  3 .  4 .  5 .  6 .  7 .  8 .  9 .  10 .      下一頁›      最末頁
第 8 / 142 頁 , 共 2116 筆       下十頁»      
TOP