24h購物| | PChome| 登入
2014-04-18 22:56:27
2012-04-04 06:48:36

[UVA] 10924 - Prime Words

Problem E - Prime Words Time Limit: 1 second A prime number is a number that has only two divisors: itself and the number one. Examples of prime numbers are: 1, 2, 3, 5, 17, 101 and...

2012-04-03 14:40:58

[UVA][Greedy] 10720 - Graph Construction

Problem C Graph Construction Time Limit 2 Seconds Graph is a collection of edges E and vertices V. Graph has a wide variety of applications in computer....

2012-04-03 13:41:54

[UVA][Map&sstream] 11629 - Ballot evaluation

2009/2010 ACM International Collegiate Programming Contest University of Ulm Local Contest Problem B: Ballot evaluation Before the 2009 elections at the European Parliament, Bill and Ted have ...

2012-04-03 11:49:34

[UVA] 865 - Substitution Cypher

Substitution Cypher Substitution cyphers are the simplest of cyphers where the letters of one alphabet are substituted for the letters of another alphabet. In one form or another, they've bee...

2012-04-03 07:01:37

[UVA] 10252 - Common Permutation

Problem G Common Permutation Input: standard input Output: standard output Time Limit: 4 seconds Memory Limit: 32 MB Given two strings of lowercase letters, a and b, print the ...

2012-04-03 06:29:03

[機率][問題] 檢驗策略?

假設某疾病 A 的檢驗費很貴,但得到 A 的機率是 0.01 (意思是 100人裡有 1 人會得到),現在有 10,000 人要做檢驗,每個人都會抽血,請使用策略讓檢驗的次數盡可能減少。解說:策略1:每個人都做的話,基本的次數是 1...

2012-04-02 08:07:06

[UVA][Math][Stirling'sFormula] 1185 - Big Number


In many applications very large integers numbers are required. Some of these applications are using keys for secure transmission of data, encryption, etc. In this problem you are given a number, you...

2012-04-01 20:39:41

[UVA][Map] 11286 - Conformity


Problem B: Conformity Frosh commencing their studies at Waterloo have diverse interests, as evidenced by their desire to take various combinations of courses from among those available. Univer...

2012-04-01 20:28:48

[UVA][Trie] 11286 - Conformity


Problem B: ConformityFrosh commencing their studies at Waterloo have diverse interests,as evidenced by their desire to take various combinations of courses fromamong those available.University adminis...

2012-04-01 20:06:06

[UVA][Trie] 10226 - Hardwood Species

Problem C: Hardwood Species Hardwoods are the botanical group of trees that have broad leaves, produce a fruit or nut, and generally go dormant in the winter. America's temperate climates prod...

2012-04-01 19:24:29

[UVA][Map] 10226 - Hardwood Species

Problem C: Hardwood Species Hardwoods are the botanical group of trees that have broad leaves, produce a fruit or nut, and generally go dormant in the winter. America's temperate climates prod...

2012-04-01 16:34:28

[UVA][Map] 10420 - List of Conquests

Problem B List of Conquests Input: standard input Output: standard output Time Limit: 2 seconds In Act I, Leporello is telling Donna Elvira about his master's long list of conquests: ``T...

2012-04-01 13:02:38

[UVA][DP] 11258 - String Partition

Problem F - String Partition John was absurdly busy for preparing a programming contest recently. He wanted to create a ridiculously easy problem for the contest. His problem was not only e...

2012-04-01 10:47:28

[UVA] 12004 - Bubble Sort


Bubble Sort Check the following code which counts the number of swaps of bubble sort. int findSwaps( int n, int a[] ) { int count = 0, i, j, temp, b[100000]; for( i = 0; i <...

2012-04-01 10:01:59

[UVA] 12022 - Ordering T-shirts

D - Ordering T-shirts Background Working in a boutique folding and putting in order T-shirts according to their sizes seems very easy. But is it really so simple? The Problem Givenn ...

第一頁      ‹上一頁       101 .  102 .  103 .  104 .  105 .  106 .  107 .  108 .  109 .  110 .      下一頁›      最末頁
«上十頁      第 106 / 142 頁 , 共 2116 筆       下十頁»      
TOP