- 博客(8)
- 资源 (1)
- 收藏
- 关注
转载 安装python-mysql遇到的问题解决方法
纠结了一下,终于在网上找到方法 帖个链接:http://www.ningoo.net/html/2010/install_python_mysqldb_on_ubuntu.html
2011-11-28 21:50:01 360
原创 sicily 1036
不认真看题后果很严重....暴力模拟...效率很低的说... // source code of submission 985877, Zhongshan University Online Judge System #include #include #include #include #include #include using namespace std; bool wo
2011-11-19 23:52:15 580
原创 sicily 1783. Large is Better
水题一道..... #include #include #include #include using namespace std; bool cmp(char str1, char str2) { return str1 > str2; } int main() { int caseNum; int caseCount = 0; string number;
2011-11-08 00:07:35 702
原创 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 complex. Complex is better than complicated. Flat is better than nested
2011-11-07 15:46:12 515
原创 sicily 1323. Switch text
#include #include #include #include using namespace std; bool checkEmptyLine(string str) { for (int i = 0; i < str.size(); i++) { if (str[i] != ' ') return true; } return false; } int
2011-11-07 12:50:47 825
原创 codeblocks更改调试终端
原来很简单.... 在codeblocks菜单中选: Setting==>Environment...==>General Setting==>Terminal to lanuch console programs: 用 “gnome-terminal -t $TITLE -x” 替换 “xterm -T $TITLE -e” 即可!!!(源自百度)
2011-11-06 19:09:41 900
转载 Sicily题目分类
这个学期一定要把数据结构和算法学好..... *************************程序设计题************************* sicily 1293, uva 100, pc 110101, 3n+1数链问题, 难度1 sicily 1813 M进制数问题 sicily 1157 The hardest problem. 简单大小比较,难度0 s
2011-11-01 23:50:32 4072
原创 sicily 1342 开心的金明
/*** *典型0-1背包问题....参照DD大牛写的背包9解... **/ #include #include using namespace std; int moneyImportant[30000]; int main() { int totalMoney; int elementNum; int price; int importance; while (c
2011-11-01 23:46:48 2637
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人