Luke Skywalker is having exhausting practice at a God-forsaken planet Dagoba. One of his main difficulties is navigating cumbersome objects using the Power. Luke’s task is to hold several stones in
...
分类:
其他好文 时间:
2014-07-29 13:15:57
阅读次数:
326
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1271
Power Transmission
The Problem
DESA is taking a new project to transf...
分类:
其他好文 时间:
2014-07-29 13:12:27
阅读次数:
285
题目大意,给出一个字符串s,求最大的k,使得s能表示成a^k的形式,如 abab 可以表示成(ab)^2;方法:首先 先求kmp算法求出next数组;如果 len mod(len-next[len])==0 ,答案就是len /(len-next[len]),否则答案是1;证明如下; 如果s能表示成...
分类:
其他好文 时间:
2014-07-29 12:11:16
阅读次数:
171
Poweroff是一个用来管理电脑关机系统的小工具,支持定时,支持远程我的收藏|登录首页»系统工具»Poweroff – 很好很强大的定制关机工具收藏290.00 / 551 / 52 / 53 / 54 / 55 / 50votesscavin(Google+)on2008.01.11.Power...
分类:
其他好文 时间:
2014-07-29 10:31:26
阅读次数:
258
A -Power Strings 难度:☆☆Time Limit:3000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusPracticePOJ 2406DescriptionGiven two strings a and...
分类:
其他好文 时间:
2014-07-28 21:23:54
阅读次数:
216
系统信息:#cat/etc/redhat-releaseCentOSrelease6.4(Final)Discuz官网:http://www.discuz.net/forum.php1.安装所需软件yuminstallhttpdmysqlphp.x86_64php-cli.x86_64php-common.x86_64php-gd.x86_64php-pear.noarchphp-mysql.x86_64servicemysqldstartmysql_secure_installati..
分类:
其他好文 时间:
2014-07-28 16:41:44
阅读次数:
227
一、SolrJ基础
1、相关资料
API:http://lucene.apache.org/solr/4_9_0/solr-solrj/
apache_solr_ref_guide_4.9.pdf:Client APIs---Using SolrJ
http://wiki.apache.org/solr/Solrj
solr in action:Using the SolrJ cli...
分类:
其他好文 时间:
2014-07-28 15:48:43
阅读次数:
267
oracle的函數很多﹐特整理出來﹕abs(m)m的绝对值mod(m,n)m被n除后的余数power(m,n)m的n次方round(m[,n])m四舍五入至小数点后n位的值(n缺省为0)trunc(m[,n])m截断n位小数位的值(n缺省为0)字符函数:initcap(st)返回st将每个单词的首字...
分类:
数据库 时间:
2014-07-28 15:38:53
阅读次数:
412
1,http://nodejs.org/download/安装nodejs2,配置环境变量,将nodejs的安装目录放置在Path环境变量中3,在cmd中npm install -g grunt-cli,如果已经安装的话npmuninstall-ggrunt 这句话可以删除4,grunt -vers...
分类:
Web程序 时间:
2014-07-28 03:02:49
阅读次数:
301
1.GUIGraphicalUserInterface(图形用户接口)。用图形的方式,来显示计算机操作的界面,这样更方便更直观。CLICommandlineUserInterface(命令行用户接口)就是常见的Dos命令行操作。需要记忆一些常用的命令,操作不直观。2.Awt和SwingJava为GUI提供的对象都存在java.Awt和javax...
分类:
其他好文 时间:
2014-07-26 15:35:34
阅读次数:
209