24h購物| | PChome| 登入
2014-04-18 22:56:27
2013-07-07 17:08:20

[UVA][dp] 10564 - Paths through the Hourglass


Problem F Paths through the Hourglass Input: Standard Input Output: Standard Output Time Limit: 2 Seconds In the hourglass to the right a path is marked. A path always starts at the first...

2013-07-07 16:18:25

[UVA] 10528 - Major Scales


Problem C: Major Scales In music, the range of audible frequencies is divided into octaves, where each octave spans frequencies within factor of 2 of one another. For example, the note called midd...

2013-07-07 16:08:27

[UVA][math] 10522 - Height to Area


THE SAMS' CONTEST Problem 3 Height to Area Problem It's an easy geometry problem. For any triangle ABC we know that the height from A to the line BC (or it's e...

2013-07-05 16:20:33

[UVA][牛頓法] 10428 - The Roots

Problem J The Roots Input: standard input Output: standard output Time Limit: 15 seconds A polynomial equation has the following form: anxn + an-1xn-1 + an-2xn-2 + … + a1x1+ a0 = 0 ...

2013-07-05 16:16:29

[UVA] 10406 - Cutting tabletops


Problem D: Cutting tabletops Bever Lumber hires beavers to cut wood. The company has recently received a shippment of tabletops. Each tabletop is a convex polygon. However, in this hard e...

2013-07-05 16:00:02

[UVA][math] 10466 - How Far?


Return of the Aztecs Problem D: How Far? Time Limit: 4 seconds Memory Limit: 32 MB As you probably know, the earth moves round the sun, and the moon moves round the e...

2013-07-05 15:56:04

[UVA] 10410 - Tree Reconstruction


Problem H: Tree Reconstruction You have just finished a compiler design homework question where you had to find the parse tree of an expression. Unfortunately you left your assignment in ...

2013-07-05 15:41:29

[UVA][bfs] 10422 - Knights in FEN


Problem D Knights in FEN Input: standard input Output: standard output Time Limit: 10 seconds There are black and white knights on a 5 by 5 chessboard. There are twelve of each col...

2013-07-05 15:36:18

[UVA][遞迴] 12627 - Erratic Expansion

A Erratic Expansion Input: Standard Input Output: Standard Output Piotr found a magical box in heaven. Its magic power is that if you place any red bal...

2013-07-05 15:32:30

[UVA][模擬] 12608 - Garbage Collection


Problem G: Garbage Collection Garbage truck is collecting garbage on its route starting at the dump and collecting garbage from pick up points in order (closest first). Garbage truck returns ...

2013-07-05 15:27:47

[UVA][BIT] 1513 - Movie collection

Mr. K. I. has a very big movie collection. He has organized his collection in a big stack. Whenever he wants to watch one of the movies, he locates the movie in this stack and removes it carefully...

2013-07-05 15:21:55

[UVA][greedy] 12428 - Enemy at the Gates


BUET Inter-University Programming Contest Problem E – Enemy At The Gates Problem The kingdom of ByteLand is in trouble. The enemies are going to attack ByteLand. The enemies know that...

2013-07-05 12:30:43

[UVA] 12435 - Consistent Verdicts

C Consistent Verdicts In a 2D plane N persons are standing and each of them has a gun in his hand. The plane is so big that the persons can be considered as points and ...

2013-07-05 12:20:20

[UVA] 12485 - Perfect Choir


Perfect Choir The Conductor of the choir is planning to take part in the famous Brazilian Choir Week, and therefore she wants the choir to rehearse a new song, described as follows: each me...

2013-07-05 12:17:11

[UVA] 12366 - King's Poker


King's Poker Poker is one of the most widely played card games, and King's Poker is one of its variations. The game is played with a normal deck of 52 cards. Each card has one of 4 suits and o...

第一頁      ‹上一頁       31 .  32 .  33 .  34 .  35 .  36 .  37 .  38 .  39 .  40 .      下一頁›      最末頁
«上十頁      第 31 / 142 頁 , 共 2116 筆       下十頁»      
TOP