2013年10月31日 星期四

好多好多想說的話啊

許久許久(也沒很久,大概3~4年以前吧),

曾經有個同學固定會來看我的日記

2013年10月27日 星期日

2013年10月23日 星期三

線上檢測小記事 - 處理多筆輸入

進行線上檢測,另一個大問題就是多筆輸入了

因為不知道總共會有幾筆資料所以必須透過一些小技巧來進行

以下大約列出幾種常見的測試資料輸入範例

會以 UVa 的題目做為例題,但是因為這篇只討論輸入部份所以不會完整解題

2013年10月10日 星期四

爬山行 - 七星山

國慶放假,

閒閒沒事(嚴格來講也不是閒閒沒事啦0.0)

一時興起就跑去爬七星山了

UVa 107 - The Cat in the Hat

Problem link

Keyword: brute force, math

Algorithm:

UVa 644 - Immediate Decodability

Problem link

Keyword: ad hoc

Algorithm:

UVa 492 - Pig-Latin

Problem link

Keyword: ad hoc

Algorithm:

UVa 484 - The Department of Redundancy Department

Problem link

Keyword: ad hoc, search

Algorithm:

UVa 350 - Pseudo-Random Numbers

Problem link

Keyword: ad hoc, search

Algorithm:

2013年10月6日 星期日

UVa 572 - Oil Deposits

Problem link

Keyword: graph

Algorithm:

UVa 409 - Excuses, Excuses!

Problem link

Keyword: string

Algorithm:

UVa 847 - A Multiplication Game

Problem link

Keyword: ad hoc

Algorithm:

UVa 294 - Divisors

Problem link

Keyword: brute force

Algorithm:

UVa 138 - Street Numbers

Problem link

Keyword: brute force, math

Algorithm:

UVa 12022 - Ordering T-shirts

Problem link

Keyword: math, pre-calculation

Algorithm:

UVa 11554 - Hapless Hedonism

Problem link

Keyword: DP, geometry

Algorithm:

2013年10月5日 星期六

Windows 7 重灌教學

這篇,主要是來說明Windows的重灌以及全新安裝的做法

2013年10月4日 星期五

常見編譯錯誤

怎麼辦?

gcc 和我抱怨了QQ

這時候謂之編譯錯誤 (compilation error)

這裡介紹一下常見的編譯錯誤及其解決方法

2013年10月2日 星期三

Mountain Climbing

前一陣子一時興起(最近一時興起的事也未免太多了吧@@)

很想出去外面爬爬山,

所以今天就跑去了登山社的迎新看看

2013年10月1日 星期二

Ubuntu安裝教學

這篇主要是要來說明如何在電腦上裝Ubuntu,

包含單系統、雙系統、和Virtual Box的裝法