24h購物| | PChome| 登入
2014-04-18 22:56:27
2012-04-01 09:36:15

[UVA] 12036 - Stable Grid


Stable Grid Consider a grid of size n x n where each cell contains a number. Let's call a grid stable if we can rearrange the numbers of each row so that every column of the resulting grid has...

2012-03-31 10:38:19

[UVA][LCS] 10405 - Longest Common Subsequence


Problem C: Longest Common Subsequence Sequence 1: Sequence 2: Given two sequences of characters, print the length of the longest ...

2012-03-31 10:06:21

[UVA] 10469 - To Carry or not to Carry


Problem G: To Carry or not to Carry Time Limit: 1 second Memory Limit: 32 MB 6+9=15 seems okay. But how come 4+6=2? You see, Mofiz had worked hard throughout his digi...

2012-03-30 15:04:47

[UVA] 11483 - Code Creator

C Code Creator With increased popularity of programming competitions, there are so many online judges where contestants can practice. Usually, most of these sit...

2012-03-30 14:45:50

[UVA] 11461 - Square Numbers

Square Numbers Input: Standard Input Output: Standard Output A square number is an integer number whose square root is also an integer. For example 1, 4, 81 ...

2012-03-29 21:50:49

[ZJ][最小表示法][環同構判定][a442] Necklace Problem (NP)

內容 : 「題目總是唬人的,事實上並沒有那麼難」給你兩個項鍊,這兩條項鍊上都有 n 顆珠子(用 0 ~ 9 表示之),請判定這兩條項鍊是否相同。記住項鍊可翻面。 後文:自從上了大學,就不來 ZJ 了 ....

2012-03-29 17:06:48

最小表示法〈Minimal Representation〉

IOI2003冬令营演示文稿安徽周源浅析“最小表示法”思想在字符串循环同构问题中的应用相關網址:http://www.docin.com/p-26433604.htmlint MinExp(const char *s, const int slen) { int i = 0, j = 1, k = 0, x, y, ...

2012-03-28 20:37:08

[UVA] 11005 - Cheapest Base

Problem B Cheapest Base Input: Standard Input Output: Standard Output When printing text on paper we need ink. But not every character needs the same amount of ink to print: letters suc...

2012-03-28 16:34:22

[UVA][JAVA] 495 - Fibonacci Freeze


Fibonacci Freeze The Fibonacci numbers (0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, ...) are defined by the recurrence: Write a program to calculate the Fibonacci Numbers. Input and Output Th...

2012-03-28 16:27:33

[UVA] 11001 - Necklace


Problem B: Necklace The Problem The people of a certain tribe produce circular ceramic discs with equal diameter by some rare clay. A necklace is formed by connecting one or more discs. The ...

2012-03-28 16:19:22

[UVA] 10908 - Largest Square

4th IIUC Inter-University Programming Contest, 2005 D Largest Square Input: standard input Output: standard output ...

2012-03-28 16:15:48

[UVA] 10042 - Smith Numbers


Problem D: Smith Numbers Background While skimming his phone directory in 1982, Albert Wilansky, a mathematician of Lehigh University , noticed that the telephone number of his brothe...

2012-03-28 16:01:46

[UVA][MinExp] 719 - Glass Beads


Glass Beads Once upon a time there was a famous actress. As you may expect, she played mostly Antique Comedies most of all. All the people loved her. But she was not interested in the crowds....

2012-03-27 16:31:44

[UVA][LCS] 10192 - Vacation

Problem E: Vacation The Problem You are planning to take some rest and to go out on vacation, but you really don't know which cities you should visit. So, you ask your parents for help. Your ...

2012-03-27 15:12:11

[2012/3/27] 英文轟炸

想必有讀過大學的都知道, 大一是必修英文的,而畢業門檻至少要有英文中高級初試通過,也就是沒通過就不能畢業,這次很高興的能參加校內的考試, 考聽力跟閱讀,每一科至少 72, 總共要超過 150我加起來不到 70, 所以這代表...

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