自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 收藏
  • 关注

原创 Centos 7 硬盘安装

注意点:1. U盘的盘符问题。 http://blog.51cto.com/jinchuang/1947002                           https://blog.csdn.net/applebomb/article/details/752099652. 使用troubleshooting的basic ui install...

2018-03-28 18:24:50 1481

原创 centos mysql更改数据存放位置datadir(NTF格式硬盘)

1. 更改mysql的数据存放位置(Centos)          (1)关掉mysql service mysqld stop (2)更改/etc/my.cnf内容 datadir=/newpath/mysql         (3)重启mysql service mysqld start         一般情

2016-04-10 20:13:23 594

原创 Matlab web server, Error: recv1() error: 10054

配置好后运行例子wsdemos,出现“Error: recv1() error: 10054”,端口

2014-08-12 22:48:29 1199

原创 Mondrian 表头中文显示(汉化)

Mondrian前台展示使用了JPivot,而Jpivot的表头中文显示有乱码(Mondrian3.5)

2014-08-11 18:30:23 867

原创 Windows Phone 笔记

1. 有时候改过颜色后不会正常显示,有肯恩

2014-05-27 11:16:29 390

原创 Windows Phone HttpClient解析gb2312网页

没有使用H天天批处理恩图

2014-05-26 13:52:24 960

原创 设计模式

参考博客 1. 史上最全设计模式导学目录(完整版)  2.GOF 设计模式 通俗易懂

2014-01-06 10:33:06 476

原创 Windows下部署基于Apache的SVN服务器

参考自 http://www.cnblogs.com/blueskyc/articles/1376982.html http://blog.csdn.net/zhuxiaowenlinda/article/details/4320094 http://www.blogjava.net/hadeslee/archive/2008/03/12/185788.html http://

2013-12-17 20:59:53 2105

原创 Maven入门教程

Maven入门 1.Maven安装(CentOS) 1.官网 Maven下载,例如apache-maven-3.1.0-bin.tar.gz 2. cd /usr/local 3. 解压tar文件 tar -zxf apache-maven-3.1.0-bin.tar.gz 4.改名,方便后期使用 mv mavenXXX maven 5.加入环境变量 vim /etc/p

2013-08-16 15:15:39 1029

原创 Machine Learning- Coursera - Stanford - Programming Exercises

VII. Regularization (Week 3)  1) Sigmoid Function  [ sigmoid.m ] Octave expression:  2) Logistic Regression Cost [ costFunction.m ] Vectorization Implementation:  3) Logistic

2013-07-29 19:34:41 11682

原创 UVa 437 - The Tower of Babylon

本质上是最长上升序列,d[i]为前i个block所取得的最大高度,转移方程为 d[i] = max(d[i],d[j]+height[i]),( j reference to http://belbesy.wordpress.com/2011/06/26/uva-437-the-tower-of-babylon-dp-dag/ #include #include #include

2012-09-22 09:43:57 617

原创 UVa 624 - CD

01背包 #include #include #include #include #include #include #include #include using namespace std; #define MAXN 100000 #define INF 2147483647 #define MAX(a,b) (a>b?a:b) #define

2012-09-19 20:01:44 312

原创 UVa 147 Dollars

Coin Counting problem,reference to: http://www.geeksforgeeks.org/archives/17401 #include #include #include #include #include #include #include #include using namespace std; #defi

2012-09-19 10:55:10 232

原创 UVa 10003 - Cutting Sticks

转换思路后,类似矩阵链乘法、石子合并问题。 在长度为l的木棍上分布着n+1个点,依次从0-n+1编号,d[i][j]代表第i个点到第j个点中累加和的最小值。d[i][j] = min( d[i][j],d[i][k]+d[k][j] + (cut[j] - cut[i]) ),  (cut[i]为第i个点的“坐标“) #include #include #include #in

2012-09-18 13:50:28 255

原创 Uva 301 Transportation

以ticket order为节点进行遍历,那么每个节点有两个状态:选与不选 #include #include #include #include #include #include #include #include using namespace std; #define MAXN 10 #define NEGINF -1e8 int ca

2012-09-10 12:36:12 353

原创 UVa 10085-The most distant state(BFS,Eight).cpp

八数码问题,参见lrj程序 #include #include #include #include #include #include #include #include using namespace std; #define MAXN 500000 #define INF 1e8 #define NEGINF -1e8 int fin

2012-09-10 12:28:47 366

原创 UVa 10391 - Compound Words

hash存储,遍历每个单词的所有拆分,看是否都存在。 #include #include #include #include #include #include #include #include using namespace std; #define MAXN 120100 #define INF 1e8 #defin

2012-09-10 11:44:53 394

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除