24h購物| | PChome| 登入
2014-04-18 22:56:27
2013-07-10 06:53:56

[UVA][math] 11300 - Spreading the Wealth

F. Spreading the Wealth Problem A Communist regime is trying to redistribute wealth in a village. They have have decided to sit everyone around a circular table. First, everyone has con...

2013-07-08 07:07:55

[UVA] 11230 - Annoying painting tool

2007/2008 ACM International Collegiate Programming Contest University of Ulm Local Contest Problem A: Annoying painting tool Maybe you wonder what an annoying painting tool is? First of al...

2013-07-08 07:02:28

[UVA] 11241 - Humidex


Problem C: Humidex Adapted from Wikipedia, the free encyclopedia The humidex is a measurement used by Canadian meteorologists to reflect the combined effect of heat and humidity. It differs f...

2013-07-07 22:21:39

[UVA][dp][BIT] 11240 - Antimonotonicity


Problem B: Antimonotonicity I have a sequence Fred of length n comprised of integers between 1 and n inclusive. The elements of Fred are pairwise distinct. I want to find a subsequence Mary o...

2013-07-07 21:48:16

[UVA] 11203 - Can you decide it for ME

Can you decide it for ME? Background As you should know, a formal system consists of a set of axioms and set of inference or production rules. Theorems, in general, are results ...

2013-07-07 21:25:27

[UVA][模擬] 11242 - Tour de France


Problem D: Tour de France A racing bicycle is driven by a chain connecting two sprockets. Sprockets are grouped into two clusters: the front cluster (typically consisting of 2 or 3 sprockets) ...

2013-07-07 21:23:07

[UVA][dp] 10898 - Combo Deal


D: Combo Deal A fast food store offers a series of ``combo meal deals" in addition to individually priced items. For example, the menu at the store may look like this: Hamburger ...

2013-07-07 21:08:15

[UVA][formula] 10843 - Anne's game

Problem D Anne's game Time Limit: 2 seconds Lily: "Chantarelle was part of my exotic phase." Buffy: "It's nice. It's a mushroom." Lily: "It is? That's really embarrassing." Buffy: "Wel...

2013-07-07 19:53:19

[UVA][遞迴] 10821 - Constructing BST


Problem B Constructing BST Input: Standard Input Output: Standard Output BST (Binary Search Tree) is an efficient data structure for searching. In a BST all the elements of the left ...

2013-07-07 19:31:10

[UVA] 10865 - Brownie Points


Problem A: Brownie Points IStan and Ollie play the game of Odd Brownie Points. Some browniepoints are located in the plane, at integer coordinates. Stan playsfirst and places a vertical line in the p...

2013-07-07 18:18:18

[UVA][greedy] 10716 - Evil Straw Warts Live


Problem D: Evil Straw Warts Live A palindrome is a string of symbols that is equal to itself when reversed. Given an input string, not necessarily a palindrome, compute the number of swaps neces...

2013-07-07 18:10:07

[UVA] 10774 - Repeated Josephus

Repeated Josephus Input: standard input Output: standard output Time Limit: 1 second No, I don't want you to waste important time reading boring introduction. At first, there are n people num...

2013-07-07 18:07:49

[UVA] 10705 - The Fun Number System

Problem A The Fun Number System Input: standard input Output: standard output Time Limit: 1 second In a k bit 2’s complement number, where the bits are indexed from 0 to k –1, the weight...

2013-07-07 17:56:45

[UVA][bfs] 1377 - Ruler


Xiaoming wants to make a special ruler, which can directly measure several given lengths. Xiaoming hopes to find a way, making the scale on ruler as few as possible, while for a given length, there ...

2013-07-07 17:19:57

[UVA][剪枝] 10543 - Traveling Politician

Problem E Traveling Politician Time Limit: 2 seconds A politician from the Alliance of Conservative Monarchists (ACM) is campaigning for the next election. In order to guarantee his victo...

第一頁      ‹上一頁       21 .  22 .  23 .  24 .  25 .  26 .  27 .  28 .  29 .  30 .      下一頁›      最末頁
«上十頁      第 30 / 142 頁 , 共 2116 筆       下十頁»      
TOP