- 博客(9)
- 资源 (13)
- 收藏
- 关注
原创 LIS(Longest Increasing Subsequence)最长上升(不下降)子序列
有两种算法复杂度为O(n*logn)和O(n^2)O(n^2)算法分析如下: (a[1]...a[n] 存的都是输入的数)1、对于a[n]来说,由于它是最后一个数,所以当从a[n]开始查找时,只存在长度为1的不下降子序列;2、若从a[n-1]开始查找,则存在下面的两种可能性: (1)若a[n-1] (2)若a[n-1] > a[n] 则存在长度为1的不下降子序列 a[
2010-03-07 17:10:00 660
转载 CentOS 5.2,Linux 2.6+ 内核 ,Apache+MySQL+PHP 安装及基本配置过程记录 && 将apache安装为系统服务
环境:本文中的Linux操作系统为CentOS 5.2,Linux 2.6+ 内核 ,Apache+MySQL+PHP 安装及基本配置过程记录下来以供参考:一. Apache Web服务器的源代码安装,Tarball安装方式:1. 源码包:httpd-2.2.6.tar.gz 从 www.apache.org 下载到此目录下:/usr/local/src 同时在 /usr/lo
2010-03-07 07:03:00 3641
转载 CentOS+Apache+Mysql+Php安装及优化配置小记
本文软件的下载地址就不列出,主要是记录安装时的步骤及相关问题的处理方法;基于安装方法目前有两种,一种是利用RPM包安装,一种源码编译安装;以下主要是以源码编译安装;因为源码安装软件的相互依赖性小,安装方式用各种unix/linux系统,维护方便。如果想去除相关服务时,直接rm–rf目录 即可;建议采用源码方式安装; 系统环境和需要的软件: 1、CentOS 2、ht
2010-03-06 09:29:00 1838
转载 CentOS 5.3上yum安装Apache+php+Mysql+phpMyAdmin
Centos 里的 yum 在线安装很慢.以下是替换为中国CentOS镜像服务器!中国官方镜像网站: http://centos.ustc.edu.cn//* 使用说明 */cd /etc/yum.repos.d[进入yum.repos.d目录]mv CentOS-Base.repo CentOS-Base.repo.save[修改源文件名称备份]wget htt
2010-03-06 06:58:00 2457
原创 Linux下Apache2+MySQL5+PHP5安装
安装环境:VMware Workstation 5.5.0 build-18463Linux版本:Red Hat Enterprise Linux AS (2.6.9-42.EL)软件版本:MySQL5 - mysql-5.0.37.tar.gz Apache2 - httpd-2.2.4.tar.gz PHP5 - php-5.2.1.tar.gz (
2010-03-06 06:18:00 1455
转载 linux yum安装mysql后要注意的一些初始化问题
zz linux yum安装mysql后要注意的一些初始化问题 我的服务器装的是centos 5.3,由于最开始安装做了详细的记录,所以整个过程也是轻车熟路,一路yum下来,就搞定了,然后就是数据库、网站的搬家,轻松搞定~可是今天在家看了下公司的网站,问题出来了~ 有些产品点击查看详细信息的时候,找不到网页~经过一番思考,发现是mysql默认字符集的问题,把原来服务器上的my.cn
2010-03-06 06:17:00 2769
转载 Fedora 8下用Yum安装Apache+PHP+MySQL环境
fedora8 用yum来管理安装Apache+PHP+Mysql的基本安装。1. 安装Apahce, PHP, Mysql, 以及php连接mysql库组件。yum -y install httpd php mysql mysql-server php-mysql2. 配置开机启动服务 /sbin/chkconfig httpd on [设置apach
2010-03-06 06:15:00 1676
转载 C++类中的4个特殊函数 && Object copy (Deep vs. Shallow vs. Lazy copy)
转载自 http://patmusing.blog.163.com/blog/static/1358349602009113061024796/ C++类中的4个特殊函数 C++类中的4个特殊函数 - 缺省构造函数、拷贝构造函数、拷贝赋值操作符和析构函数 a.C++标准中提到“The default constructor, copy construct
2010-03-05 17:30:00 1714
转载 linux中 jdk 的卸载和安装
zz http://yushan.javaeye.com/blog/261148 一.jdk1.4卸载由于redhat Enterprise 5 中自带安装了jdk1.4的,所以在安装jdk1.6前我把jdk1.4的卸了,步骤如下: 1.打开终端输入#rpm -qa | grep gcj,其现实内容有: java-1.4.2-gci-compat.........
2010-03-05 08:34:00 2344
图解配置Apache+PHP+MySQL协同工作,搭建BBS论坛
2010-03-06
编程珠玑(Programming Pearls) 第二版-- (大礼包)PDF 中文版+英文版+源码
2010-03-04
Source Insight 3.5 破解版
2010-02-22
The Spin Model Checker_Primer and Reference Manual (PDF格式)
2010-01-26
The Spin Model Checker_Primer and Reference Manual(CHM格式)
2010-01-26
PHP教程-html格式
2009-09-08
PHP教程-chm格式
2009-09-07
Logic in Computer Science Modelling and Reasoning about Systems 面向计算机科学的数理逻辑系统建模与推理
2009-06-23
Model Checking-Edmund M. Clarke-模型检查PDF
2009-06-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人