/** * 将小数度数转换为度分秒格式 * @param numStr (主要用于图片中存储经纬度) * @return */ public static String convertToSexagesimal(String numStr){ do...
分类:
移动开发 时间:
2014-07-22 22:54:53
阅读次数:
248
Hello everybody,One day I had problems with GUI svn client and a big headache how to commit my changes. I have found how to do that using Terminal and...
分类:
其他好文 时间:
2014-07-19 21:30:39
阅读次数:
197
1.NginxNginx是通过将多个Web Server绑定到同一个IP地址下,以实现多个WebServer间的负载均衡,降低单个Web Server的负荷,以提高整体的性能与稳定性。安装和配置Nginx的简单方式如下:1)下载并解压Nginx到本地目录:http://nginx.org/en/do...
分类:
其他好文 时间:
2014-07-19 21:23:22
阅读次数:
227
启动脚本startup.sh#!/bin/bashx=$(($1))while (($x>0))do java -jar /home/chenpenghui/crawler/crawler-hb/StartUpIp.jar & sleep 3 x=$(($x-1))done线程数 ...
分类:
编程语言 时间:
2014-07-19 21:00:09
阅读次数:
273
Description
Advanced Cargo Movement, Ltd. uses trucks of different types. Some trucks are used for vegetable delivery, other for furniture, or for bricks. The company has its own code describing ea...
分类:
其他好文 时间:
2014-07-18 23:10:11
阅读次数:
304
题目链接:点击打开链接
题意:
给定 a个箱子 b个球 常数n (球和箱子都是各不相同的,不会出现有一样的物品)
设 way = 把b个球放到a个箱子中的方法数, 若way >= n则游戏结束
有2个人玩游戏。
若当前轮到 X时
1、 X选择增加一个箱子或增加一个球
2、若增加完后方法数>=n 则X失败
若先手必胜,则输出 Masha ,若先手必败则输出 Stas ,若为平局则输出...
分类:
其他好文 时间:
2014-07-18 22:31:42
阅读次数:
282
Counting
The Problem
Gustavo knows how to count, but he is now learning how write numbers. As he is a very good student, he already learned 1, 2, 3 and 4. But he didn't realize yet tha...
分类:
其他好文 时间:
2014-07-18 22:04:36
阅读次数:
322
题目如下:
The Sultan's Successors
The Sultan of Nubia has no children, so she has decided that thecountry will be split into up to
k separate parts on her death andeach part wi...
分类:
其他好文 时间:
2014-07-18 22:00:59
阅读次数:
310
/*
A - ¼òµ¥dp ÀýÌâ
Time Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d & %I64u
Submit
Status
Description
A military contractor for the Department of Defense has just completed a seri...
分类:
其他好文 时间:
2014-07-18 21:37:41
阅读次数:
222
Given a singly linked listL:L0→L1→…→Ln-1→Ln,reorder it to:L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' values.For exam...
分类:
其他好文 时间:
2014-07-17 00:23:27
阅读次数:
215