原创 sicily 1342 開心的金明
/*** *典型0-1揹包問題....參照DD大牛寫的揹包9解... **/ #include <iostream> #include <memory.h> using namespace std; int moneyImpor
原创 The Zen of Python, by Tim Peters
The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. Simple is better than
原创 數據結構作業—表達式求值
嘛...就是轉換成反波蘭式嘛...... #include <iostream> #include <stack> #include <cmath> #include <string> #include <sstream> #includ
原创 sicily 1775. Simple Sort
最近弱爆了..... #include <iostream> #include <algorithm> #include <vector> #include <utility> using namespace std; vector
原创 vim Project插件幫助譯文
*project.txt* 一個用來管理多個項目及項目源代碼的插件 支持版本: Vim 6.x 及 Vim7.x 最後更新: 2006 年 10 月 13 日 星期五 翻譯更新: 2007
原创 sicily 1323. Switch text
#include <iostream> #include <string> #include <algorithm> #include <sstream> using namespace std; bool checkEmptyLin
原创 安裝python-mysql遇到的問題解決方法
糾結了一下,終於在網上找到方法 帖個鏈接:http://www.ningoo.net/html/2010/install_python_mysqldb_on_ubuntu.html
原创 Makefile教程
http://wiki.ubuntu.org.cn/index.php?title=%E8%B7%9F%E6%88%91%E4%B8%80%E8%B5%B7%E5%86%99Makefile&variant=zh-cn
原创 sicily 1783. Large is Better
水題一道..... #include <iostream> #include <algorithm> #include <string> #include <vector> using namespace std; bool cmp
原创 codeblocks更改調試終端
原來很簡單.... 在codeblocks菜單中選: Setting==>Environment...==>General Setting==>Terminal to lanuch console programs: 用 “gnome-t
原创 vim插件安裝目錄
VIM 插件一般安裝在 5 個地方, 存放插件的路徑都列在“runtimepath”選項中, 我們可以使用 set 命令查看它: :set runtimepath? 顯示結果如下: runtimepath=~/.vim,/usr