24h購物| | PChome| 登入
2014-04-18 22:56:27
2013-03-30 14:47:52

[UVA][大數、DP] 10722 - Super Lucky Numbers

Problem E Super Lucky Numbers Time Limit 2 Seconds Some people believe that 13 is an unlucky number. So they always want to avoid the number 13. In some...

2013-03-29 22:20:59

[UVA][搜索] 840 - Deadlock Detection


Deadlock Detection In Operating Systems a special resource-allocation graph algorithm can be used to detect whether there is any deadlock in the system. A resource-allocation graph is a direc...

2013-03-29 21:26:34

[UVA][搜索] 10582 - ASCII Labyrinth


Problem B: ASCII LabyrinthWe are trying to construct a labyrinth on a board of sizem×n. Initially, on each square of the board wefind a piece of thin plywood of size 1×1 with one of thefollowing thr...

2013-03-29 20:01:50

[UVA][bitmask暴搜] 565 - Pizza Anyone?

Pizza Anyone? You are responsible for ordering a large pizza for you and your friends. Each of them has told you what he wants on a pizza and what he does not; of course they all understand ...

2013-03-29 18:14:33

[ZJ][蒙地卡羅模擬法] a648. A - Red Areas


內容 : 根據可靠消息指出,恐怖份子在Taike city中四週設置了許多炸彈。並計畫在過年前夕引爆。爆炸將會對城市造成無數的破壞,所以政府必須盡快做出所有能做的防範措施來降低潛在危險。幸 運的...

2013-03-29 08:42:15

[UVA][圓并、圓交、周長] 10969 - Sweet Dream


Problem F Sweet Dream Are you ready to have a sweet dream? OK! Close your eyes (Hey! Do NOT! I was kidding! How can you read the problem statement with your eyes closed? Umm! Let me think . ....

2013-03-29 08:21:49

[ZJ][圓并、圓交、周長] a648. A - Red Areas


內容 : 根據可靠消息指出,恐怖份子在Taike city中四週設置了許多炸彈。並計畫在過年前夕引爆。爆炸將會對城市造成無數的破壞,所以政府必須盡快做出所有能做的防範措施來降低潛在危險。幸 運的...

2013-03-28 16:58:58

[UVA][幾何、圓交] 453 - Intersecting Circles


Intersecting Circles The equation of a circle with radius r and center is Write a program that compares two circles to see if they intersect and, if they do, computes the points of inter...

2013-03-27 16:26:37

[UVA][四分樹] 806 - Spatial Structures


Spatial Structures Computer graphics, image processing, and GIS (geographic information systems) all make use of a data structure called a quadtree. Quadtrees represent regional or block data...

2013-03-27 12:16:18

[UVA][矩形聯集] 870 - Intersecting Rectangles


Intersecting Rectangles Background Consider, in a 2D space, a set of rectangles with edges that are parallel to the axis X and Y. One is the main rectangle and there are intersections betwe...

2013-03-27 10:38:16

[UVA][sieve] 10168 - Summation of Four Primes

Problem A Summation of Four Primes Input: standard input Output: standard output Time Limit: 4 seconds Euler proved in one of his classic theorems that prime numbers are infinite i...

2013-03-26 22:33:24

[UVA][dfs] 722 - Lakes

Lakes The Problem A region of two-dimensional space is divided by a grid into uniform square cells, each of which represents either "land" or "water". We are interested in finding the ar...

2013-03-26 22:16:00

[UVA] 10633 - Rare Easy Problem

Problem B Rare Easy Problem Input: Standard Input Output: Standard Output Time Limit: 1 Second N is a random number, which for some reason, is at least two digits. John Doe, a nondesc...

2013-03-26 22:12:49

[UVA] 494 - Kindergarten Counting Game

Kindergarten Counting Game Everybody sit down in a circle. Ok. Listen to me carefully. ``Woooooo, you scwewy wabbit!'' Now, could someone tell me how many words I just said? Input and Outp...

2013-03-26 22:09:13

[UVA][交集] 737 - Gleaming the Cubes

Gleaming the Cubes As chief engineer of the Starship Interprize, the task of repairing the hyperstellar, cubic, transwarped-out software has fallen on your shoulders. Simply put, you must com...

第一頁      ‹上一頁       51 .  52 .  53 .  54 .  55 .  56 .  57 .  58 .  59 .  60 .      下一頁›      最末頁
«上十頁      第 51 / 142 頁 , 共 2116 筆       下十頁»      
TOP