整合准备:1、Apache HTTP Server(下文用Apache简称)2、Tomcat 7或83、mod_jk.so (tomcat-connectors)-这个文件是用来链接http server与tomcat的桥梁下载地址:http://mirrors.hust.edu.cn/apache...
题目描述There are N tasks and M resources, each task is asked to use some resources and each resource can only be used by at most one task. You are asked ...
分类:
其他好文 时间:
2014-07-03 20:35:23
阅读次数:
274
题目描述Up to thirty couples will attend a wedding feast, at which they will be seated on either side of a long table. The bride and groom sit at one end,...
分类:
其他好文 时间:
2014-06-24 09:49:19
阅读次数:
225
题目描述There are a bunch of stones on the beach; Stone color is white or black. Little Sheep has a magic brush, she can change the color of a continuous ...
分类:
其他好文 时间:
2014-06-22 23:46:15
阅读次数:
199
题目描述Given a non-negative integer sequence A with length N, you can exchange two adjacent numbers each time. After K exchanging operations, what’s the ...
分类:
其他好文 时间:
2014-06-22 23:36:42
阅读次数:
232
题目描述在图论中,包含n个结点(结点编号为1~n)、n-1条边的无向连通图被称为树。 在树中,任意一对结点间的简单路径总是惟一的。 你拥有一棵白色的树——所有节点都是白色的。接下来,你需要处理c条指令: 修改指令(0 v):改变一个给定结点的颜色(白变黑,黑变白); 查询指令(1 v):询问从结点1...
分类:
其他好文 时间:
2014-06-22 12:55:54
阅读次数:
213
题目描述It'sYy'sbirthday, and his friends decided to buy him a copy ofXianJianQiXiaZhuanV.Since some of friends have more money available than others, nob...
分类:
其他好文 时间:
2014-06-21 09:03:53
阅读次数:
303
一:下载软件包下载链接:1 http://mirrors.hust.edu.cn/apache/mahout/0.9/二:解压文件1 tar -zxvf mahout-distribution-0.9-src.tar.gz -C /usr/share/2 3 tar -zxvf mahout-...
分类:
其他好文 时间:
2014-06-18 15:39:37
阅读次数:
262
题目描述给定一个字符串s,求出一个子串t,满足如下性质:1.t是s的一个前缀。2.t是s的一个后缀。3.t出现在s的中间(并非前缀和后缀)。例如:字符串s为fixprefixsuffix,t可以是fix。字符串s为aaa,t可以是aa。输入输入包括多组数据,每组数据为一行,每行有一个字符串s,其长度...
分类:
其他好文 时间:
2014-06-15 12:58:05
阅读次数:
187
题目描述You are given N baskets of gold coins. The baskets are numbered from 1 to N. In all except one of the baskets, each gold coin weighs w grams. In t...
分类:
其他好文 时间:
2014-06-14 16:22:52
阅读次数:
191