$ vim /home/wangzheng/.ssh/configHost 10.103.xx.xx HostName 10.103.xx.xxUser root Port 22022 $ ssh 10.103.xx.xxThe authenticity of host '[10.103.xx...
分类:
其他好文 时间:
2014-06-18 19:26:03
阅读次数:
161
我们知道,一个典型的Map-Reduce过程包 括:Input->Map->Partition->Reduce->Output。Partition负责把Map任务输出的中间结果 按key分发给不同的Reduce任务进行处理。Hadoop 提供了一个很有用的partitioner类KeyFieldBa...
分类:
编程语言 时间:
2014-06-18 17:00:55
阅读次数:
332
A + B Problem (4)时间限制(普通/Java):1000MS/3000MS 运行内存限制:65536KByte总提交:2496 测试通过:1249描述Calculate the sum of some integers.输入The input will consist...
分类:
其他好文 时间:
2014-06-18 13:58:31
阅读次数:
187
HomeProblems1086A + B Problem (3)时间限制(普通/Java):1000MS/3000MS 运行内存限制:65536KByte总提交:2317 测试通过:1452描述Calculate a + b.输入The input will consist of...
分类:
其他好文 时间:
2014-06-18 13:51:59
阅读次数:
136
A + B Problem (2)时间限制(普通/Java):1000MS/3000MS 运行内存限制:65536KByte总提交:2600 测试通过:1372描述Calculate a + b.输入The input will consist of a series of pai...
分类:
其他好文 时间:
2014-06-18 13:34:20
阅读次数:
223
方式1: /sbin/iptables -I INPUT -p tcp --dport 8011 -j ACCEPT #开启8011端口 /etc/rc.d/init.d/iptables save #保存配置 /etc/rc.d/init.d/iptab...
分类:
系统相关 时间:
2014-06-18 13:03:30
阅读次数:
262
第一步找到文件phpcms\modules\admin\index.php注释掉第33行到第36行$code = isset($_POST['code']) && trim($_POST['code']) ?trim($_POST['code']) : showmessage(L('input_co...
分类:
Web程序 时间:
2014-06-17 13:45:34
阅读次数:
375
先解释下,background:transparent,默认在IE上会被解析成 background: none transparent scroll repeat 0% 0%
transparent表示透明无颜色
none 表示没有设置背景图片
repeat 表示图片重复
scroll 表示背景图片随浏览器下拉而滚动
0%水平位置在x0
0%垂直位置在y0...
分类:
其他好文 时间:
2014-06-16 22:29:27
阅读次数:
298
Problem Description
今天的上机考试虽然有实时的Ranklist,但上面的排名只是根据完成的题数排序,没有考虑
每题的分值,所以并不是最后的排名。给定录取分数线,请你写程序找出最后通过分数线的
考生,并将他们的成绩按降序打印。
Input
测试输入包含若干场考试的信息。每场考试信息的第1行给出考生人数N ( 0
名考生的准考证...
分类:
其他好文 时间:
2014-06-16 21:14:30
阅读次数:
311
public static void downFile(final String url){
new Thread(){
public void run(){
FileOutputStream os=null;
try{
InputStream input=null;
...
分类:
移动开发 时间:
2014-06-16 20:47:47
阅读次数:
286