原创 uva 10247 complete tree labeling

Problem B Complete Tree Labeling! Input: standard input Output: standard output Time Limit: 45 seconds Memory Limit: 3

原创 zoj 3580 angry birds 憤怒的小鳥(zoj 的題目就是與時俱進啊)

Angry Birds Time Limit: 4 Seconds      Memory Limit: 65536 KB In the famous game Angry Birds, players can choose a di

原创 uva 10157 expressions

Problem A: EXPRESSIONS  Let X be the set of correctly built parenthesis expressions. The elements of X are strings c

原创 uva 439 knight moves

BFS  Knight Moves  A friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find

原创 uva 294 divisors

Divisors  Mathematicians love all sorts of odd properties of numbers. For instance, they consider 945 to be an inte

原创 hdu 1521

排列組合 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 811    

原创 strassen矩陣乘法

出處: http://www.ahhf45.com/info/data_structures_and_algorithms/algorithm/commonalg/misc/strassen/strassen.htm 上一頁

原创 hdu 1716

排列2 Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1853    

原创 uva 568 just the facts

  Just the Facts  The expression N!, read as ``N factorial," denotes the product of the first N positive integers