这题是黄巨大出的比赛题.http://poj.org/problem?id=3278DescriptionFarmer John has been informed of the location of a fugitive cow and wants to catch her immediatel...
分类:
其他好文 时间:
2014-06-19 00:58:53
阅读次数:
510
POJ2388,题目链接http://poj.org/problem?id=2388题意:水题一道给定n个数,输出中间值,可以用sort,干脆快捷。代码://396K 32MS#include #include int buf[10000];int main(){ int cowsNum; scan...
分类:
其他好文 时间:
2014-06-18 23:53:01
阅读次数:
309
第一步,引入: 1 import('ORG/Util/Page'); 2 $total = M('xxx')->count(); //获取总记录数 3 $page = new Page($total, 3); //实例化:(总数,每页显示的记录数) 4 5 $limit...
分类:
Web程序 时间:
2014-06-15 14:49:45
阅读次数:
297
http://docs.codehaus.org/display/GROOVY/Install+Groovy-Eclipse+Pluginhttp://docs.codehaus.org/display/GROOVY/Create+Your+First+Groovy+ProjectTUTORIAL ...
分类:
系统相关 时间:
2014-06-15 14:28:26
阅读次数:
462
1,Tomcat启动报错如下:Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'memcachedClient' defined in
file [/usr/local/apache-tomcat-6.0.37_6500/webapps/trade...
分类:
编程语言 时间:
2014-06-15 14:12:10
阅读次数:
283
很多朋友想要在window下配置apache+php+mysql运行环境,其实从这么长时间的经验来看,win2003下还是用iis,如果为了学习或对apache特别熟悉的朋友可以用apache一 准备1 下载apache http://httpd.apache.org/download.cgi#ap...
分类:
Web程序 时间:
2014-06-15 13:47:03
阅读次数:
359
1、下载 http://ant.apache.org/bindownload.cgi2、linux 下解压,tar -zxvf apache-ant...3、设置环境变量 ANT_HOME=... 添加ANT_HOME/bin进入PATH里面。4、source /etc/profile5、查看...
分类:
系统相关 时间:
2014-06-15 13:45:38
阅读次数:
268
附网址:http://qt-project.org/doc/qt-5/qtquicklayouts-overview.html...
分类:
其他好文 时间:
2014-06-15 11:13:27
阅读次数:
358
1、解压jdk安装路径中的src.zip如:c:\src. 注意一般只选择编译java javax org 三个文件夹就足够了,剩余的文件夹删除掉2、列出要编译的源文件:dir/B/S/Xc:\src\*.java>jdk-src.txt 注意路径中不要有空格3、编译源文件javac-verbose...
分类:
其他好文 时间:
2014-06-15 10:56:41
阅读次数:
276
Eclipse :Version: Juno Service Release 2GrEclipse plugins:http://dist.springsource.org/release/GRECLIPSE/e4.2/本次安装了两个:其它的按提示操作即可安装好后创建一个Groovy Project...
分类:
系统相关 时间:
2014-06-15 10:40:17
阅读次数:
321