原创 [USACO]Name That Number

Name That Number Among the large Wisconsin cattle ranchers, it is customary to brand cows with serial numbers to please

原创 [USACO]Barn Repair

Barn Repair It was a dark and stormy night that ripped the roof and gates off the stalls that hold Farmer John's cows

原创 格雷碼推導

今日看百度百科上關於位運算的內容,裏面提到格雷碼的一個計算公式,引文:Gray碼的第n個數(從0算起)是n xor (n shr 1)。看起來有點抽象,也可能是不夠聰明,一眼看不出來,就拿紙筆推導了一下。 百度百科原文鏈接:http:/

原创 [USACO]Transformations

Transformations A square pattern of size N x N (1 <= N <= 10) black and white square tiles is transformed into another

原创 [USACO]Prime Cryptarithm

Prime Cryptarithm The following cryptarithm is a multiplication problem that can be solved by substituting digits from

原创 Redis 起步

原文鏈接 Redis 起步 Rdis和JQuery一樣是純粹爲應用而產生的,這裏記錄的是在CentOS 5.7上學習入門文章: 1.Redis簡介  Redis是一個key-value存儲系統。和Memcached類似,但是解

原创 [USACO]Palindromic Squares

Palindromic SquaresRob Kolstad Palindromes are numbers that read the same forwards as backwards. The number 12321 is a

原创 [USACO]Milking Cows

Three farmers rise at 5 am each morning and head for the barn to milk three cows. The first farmer begins milking his c

原创 【USACO】PROB Friday the Thirteenth

Friday the Thirteenth Is Friday the 13th really an unusual event? That is, does the 13th of the month land on a Frid

原创 【linux命令學習】之top/ps

【linux命令學習】之top 先上man: name: top - display Linux tasks synopsis: top -hv | -bcHisS -d delay -n iterations -p pid [, pid

原创 【USACO】PROB Broken Necklace

Broken Necklace You have a necklace of N red, white, or blue beads (3<=N<=350) some of which are red, others blue, and

原创 [USACO]Calf Flac -- 時間複雜度還是略高

Calf Flac It is said that if you give an infinite number of cows an infinite number of heavy-duty laptops (with very la

原创 ATP 5 apt.conf

用apt安裝chromium-browser的時候,會出現如下錯誤提示: E: 無法立即對 python-minimal 進行配置。請查看 man 5 apt.conf 中的 APT::Immediate-Configure (2)

原创 [Maven]如何構建依賴圖

主要是參考 http://stackoverflow.com/questions/4084669/how-to-generate-a-graph-of-the-dependency-between-all-modules-of-a-mav

原创 [Maven]添加新倉庫或者新發布依賴後卻獲取不到問題的解決方案

tags: maven [ERROR] Failed to execute goal on project settings: Could not resolve dependencies for project com.nete