原创 f91
Background McCarthy is a famous theorician of computer science. In his work, he defined a recursive function, called f
原创 什麼是GPA,應如何計算?
GPA英語全稱是grade point average,意思就是平均分,美國的GPA滿分是4分,即A=4,B=3,C=2, D=1.GPA 的精確度往往達到小數點後1到2位,如:3.0,3.45。GPA的計算一般是將每門課程的學分乘以 學
原创 Rotten Ropes
Suppose we have n ropes of equal length and we want to use them to lift some heavy object. A tear-off weight t is asso
原创 Beavergnaw
When chomping a tree the beaver cuts a very specific shape out of the tree trunk. What is left in the tree trunk looks
原创 OpenGL入門學習筆記一
OpenGL學習第一課 第一步,選擇一個編譯環境現在Windows系統的主流編譯環境有Visual Studio,Broland C++ Builder,Dev-C++等,它們都是支持OpenGL的。但這裏我選擇Visual Studio
原创 Goldbach's Conjecture
In 1742, Christian Goldbach, a German amateur mathematician, sent a letter to Leonhard Euler in which he made the follo
原创 Currency Exchange
When Issac Bernand Miller takes a trip to another country, say to France, he exchanges his US dollars for French franc
原创 Error Correction
A boolean matrix has the parity property when each row and each column has an even sum, i.e. contains an even number of
原创 Parencodings
Let S = s1 s2 ... s2n be a well-formed string of parentheses. S can be encoded in two different ways: By an intege
原创 Niven Numbers
A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number becau
原创 【分享】優秀外國英文網站
【分享】優秀外國英文網站 1 、英國《經濟學家》 http://www.economist.com , 2 、美聯社 http://wire.ap.org/GoToAP.cgi 3 、英國 BBC http://news.bbc.c
原创 提高英語聽力的細節問題
提高英語聽力的細節問題 在進行系統的聽力訓練時,學習者僅僅理解了聽力內容的大概是遠遠不夠的,對於文章的諸多細節,比如一些重要的 數據,年代,各種史實等,也要儘量準確無誤地聽出,這就需要通過反覆精聽來實現。所以科學系統的精聽訓練對學習者來說
原创 平衡二叉樹的調整方法
平衡二叉樹是在構造二叉排序樹的過程中,每當插入一個新結點時,首先檢查是否因插入新結點而破壞了二叉排序樹的平衡性,若是,則找出其中的最小不平衡子樹,在保
原创 要認真學習了。。。
墮落了一學期了,現在要認真學習了。。。
原创 A DP Problem Asia - Tehran 2003
In this problem, you are to solve a very easy linear equation with only one variable x with no parentheses! An exampl