原创 C++ Prime學習過程中的細節摘記(二)

最近在學C++,在看C++ Prime(第三版)的過程中把一些零星的知識點記了下來,主要是一些細節問題,便於以後回過頭來查閱和鞏固。 表達式        1.複數操作     * 可以用一個算術數據類型的值初始化一個複數,但不能用一

原创 ZOJ-1203 Swordfish

Swordfish Time Limit: 2 Seconds      Memory Limit: 65536 KB There exists a world within our world A world beneath wha

原创 ZOJ-1082 Stockbroker Grapevine

Stockbroker Grapevine Time Limit: 2 Seconds      Memory Limit: 65536 KB Stockbrokers are known to overreact to rumour

原创 ZOJ-1834 AutoFish

AutoFish Time Limit: 2 Seconds      Memory Limit: 65536 KB You've built an amazing fish-catching robot, but you've 

原创 ZOJ-1060 Sorting It All Out

Sorting It All Out Time Limit: 2 Seconds      Memory Limit: 65536 KB An ascending sorted sequence of distinct values 

原创 ZOJ-2165 Red and Black

Red and Black Time Limit: 2 Seconds      Memory Limit: 65536 KB There is a rectangular room, covered with square tile

原创 C++ Prime學習過程中的細節摘記(三)

最近在學C++,在看C++ Prime(第三版)的過程中把一些零星的知識點記了下來,主要是一些細節問題,便於以後回過頭來查閱和鞏固。 1.函數 1.1函數參數傳遞: C++的函數參數傳遞是值傳遞的,但是按值傳遞在一些情況下不是很適合

原创 C++ Prime學習過程中的細節摘記(一)

最近在學C++,在看C++ Prime(第三版)的過程中把一些零星的知識點記了下來,主要是一些細節問題,便於以後回過頭來查閱和鞏固。 C++數據類型 1.字符串類型: * string類型的字符串可以自動將C風格的字符串轉換爲stri

原创 25個Vim教程、視頻和資源

英文原文:Jeffrey Way   編譯:伯樂在線 - 唐尤華 編注:@程序員的那些事 12月14日在新浪微博發起的《你最常用哪些文本編輯器?》。根據目前的投票結果顯示,Vim 以 43% 比例排第一。 在進行30天Vim特

原创 ZOJ-1360 Radar Installation

Radar Installation Time Limit: 2 Seconds      Memory Limit: 65536 KB Assume the coasting is an infinite straight line

原创 ZOJ-1076 Gene Assembly

Gene Assembly Time Limit: 2 Seconds      Memory Limit: 65536 KB Statement of the Problem With the large amount of gen

原创 ZOJ-1589 Professor John

Professor John Time Limit: 2 Seconds      Memory Limit: 65536 KB Sunny Cup 2003 - Preliminary Round April 20th, 12:00

原创 HDU-2533 N皇后問題

N皇后問題 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4974  

原创 ZOJ-1877 Bridge

Bridge Time Limit: 2 Seconds      Memory Limit: 65536 KB      Special Judge n people wish to cross a bridge at night.

原创 ZOJ-2002 Copying Books

Copying Books Time Limit: 2 Seconds      Memory Limit: 65536 KB Before the invention of book-printing, it was very ha