上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: 给定一个超过10万元素,a56爆大奖在线娱乐元素均不大于1000的数组,怎样对其进行排序?这个题目就要多亏了晓东。明显的是这些元素中会有很多重复的元素。计数排序无疑是最佳的方式。参考链接:http://www.cppblog.com/shongbee2/archive/2009/04/24/80991.html#include<stdio.h>#include<stdlib.h>//计数排序intCountSort(int*pData,intnLen){int*pCout=NULL;//保存记数数据的指针pCout=(int*)malloc(sizeof(int)*nLen);//申请 阅读全文
posted @ 2013-04-21 20:10 glose 阅读(206) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/piaojun_pj/article/details/6103709 阅读全文
posted @ 2013-04-19 10:05 glose 阅读(191) 评论(0) 推荐(0) 编辑
摘要: http://www.cppblog.com/baby-fly/archive/2009/10/24/99356.htmlhttp://www.cnblogs.com/Myhsg/archive/2009/08/29/1556460.html 阅读全文
posted @ 2013-04-19 08:39 glose 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1、去http://nodejs.org/download/下载一个安装包 上传到系统的某个路径下2、tar xvfnode-v0.10.4.tar.gz3、cdnode-v0.10.44、检查所需配置# ./configure出现错误提示:Exception: Call to '(echo | $(echo ${CXX_host:-$(which g++)}) -m32 -E -> /dev/null 2>&1) && echo "-m32" || true' returned exit status 0. whilel 阅读全文
posted @ 2013-04-17 14:10 glose 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 安装1、yum install postgresql postgresql-server2、初始化数据库以及启动服务service postgresql initdbservice postgresql start3、postgresql的端口号5432 有防火墙的时候需要开放配置yum安装postgresql后的安装路径为:/var/lib/pgsql下,主要配置文件在其data文件夹下,进入data文件夹1、修改postgresql.conf文件如果想让PostgreSQL监听整个网络的话,将listen_addresses前的#去掉,并将listen_addresses = 'l 阅读全文
posted @ 2013-04-17 10:19 glose 阅读(328) 评论(0) 推荐(0) 编辑
摘要: su -c 'rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm' 阅读全文
posted @ 2013-04-16 23:35 glose 阅读(152) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/dolphin0520/archive/2011/08/24/2151846.htmlhttp://www.cppblog.com/oosky/archive/2006/07/06/9486.htmlhttp://kenby.iteye.com/blog/1025599 阅读全文
posted @ 2013-04-10 10:24 glose 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 修改系统的两个文件即可。vi /etc/pam.d/loginsession required /lib64/security/pam_limits.sosession required pam_limits.sovi /etc/security/limits.conf* soft nofile 102400* hard nofile 409600参考:http://www.centos.bz/2012/05/linux-increase-the-maximum-number-of-open-files/也可以在/etc... 阅读全文
posted @ 2013-04-08 20:24 glose 阅读(439) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/xia520pi/archive/2012/05/16/2503949.html 阅读全文
posted @ 2013-04-08 18:17 glose 阅读(135) 评论(0) 推荐(0) 编辑
摘要: http://linux.bokee.com/catalog_11708.html 阅读全文
posted @ 2013-04-05 20:30 glose 阅读(103) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 11 下一页