- 博客(7)
- 资源 (34)
- 收藏
- 关注
原创 debian安装和配置
debian安装配置字体:/usr/share/fonts下ln -s /c/windows/fonts/win_fontsfc-cache -rflspci显示系统配置dpkg-reconfigure locales 设置环境选择zh_CN.UTF-8 UTF-8 mount
2010-07-28 16:25:00 3935
原创 [Topcoder] SRM207
Div2 Lev3 #include #include #include #include #include using namespace std;typedef struct node { string pos; int hasKillRook; int hasKillQueen; int step;} node;const int coffset[8]
2010-07-19 20:21:00 983
原创 [Topcoder] SRM233
DivI lev2 #include #include #include #include #include #include #include #include using namespace std;#define NODE_NUM (26 * 26 * 26 * 26)typedef struct node { long distance;} node
2010-07-19 20:19:00 952
原创 [Topcoder] SRM211
DivI lev2 定义grid,0为空,1代表有障碍或已考虑从每个格式开始flood fill一遍,记录flood fill的格子数量#include #include #include #include #include #include #define HEIGHT 400#define WIDTH 600using namespace std;typ
2010-07-19 20:12:00 1048
原创 [Topcoder] SRM197
divII lev2 先定义八个方向的偏移。取数组pieces第一对坐标,得到其八个偏移坐标,结果肯定是这些坐标的子集,所以对这八个坐标进行检醒,如果坐标对数组其它坐标都形成威胁,则加入结果数组。题目要求排好序,只要定义偏移时按有序排列就行,这样省得显式排序了。#include #include #include #include #include #include usi
2010-07-19 20:02:00 1001
原创 [Topcoder] SRM474
Div. 2 Lev. 3主要思想:DP由于题目中点的数量不超过16个,因此可以用一个整数来表示,第i位为1表示考虑第i个点。如101表示考虑第1,3个点。由于给出的二维点没说有序,所以分解问题时得考虑其所有的子集。定义opt[2^n],n为二维点个数。opt[i] 为考虑i所代表的这些二维点的最优结果。则最优子结构:opt=minj{opt[i-j] + res[j]}其中res[j]为将j所代表的这些二维点用一个框框起来的成本。初值opt[0] = 0,其它为-1。提示:opt定义:opt[1for (
2010-07-08 19:34:00 1018
原创 性能优化工具gprof & 内存检测工具Valgrind 用法
<br />gprof:<br />//加-pg选项<br />$ gcc -Wall -g -pg test.c -o test<br />//生成gmon.out<br />$ ./test <br />//生成性能检测报告<br />$ gprof -b test gmon.out<br /> <br />Valgrind:<br />//加-g编译<br />$ gcc -g -o test test.c <br />//生成内存检查报告<br />$ valgrind --tool=memchec
2010-07-08 10:29:00 2885 1
The.Art.of.Multiprocessor.Programming.Source.Code
2012-02-14
Windows Internals Fifth Edition
2011-01-28
Data.Mining.Practical.Machine.Learning.Tools.and.Techniques.Second.Edition
2010-09-08
Principles of Data Mining
2010-09-08
Understanding Search Engines: Mathematical Modeling and Text Retrieval
2010-09-08
Mining the Web-Discovering Knowledge from Hypertext Data
2010-09-08
Search Engines, Link Analysis, and User’s Web Behavior
2010-09-08
Professional Linux Kernel Architecture
2010-08-29
《Dynamic Programming and Optimal Control》 Vol 2
2010-07-05
《The nature of statistical learning theory》Vapnik V.N.
2009-10-25
《Elements of the Theory of Computation》
2009-10-02
《The Design of The Unix Operating System》(unix操作系统设计)
2009-10-02
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人