大家还是要借鉴官网给的说明,附上链接地址: http://docs.phonegap.com/en/edge/guide_platforms_android_index.md.html#Android%20Platform%20Guide 安装所需要的JDK、ANT、android sdk我就不说什么了。。大家都...
分类:
其他好文 时间:
2015-04-28 00:25:30
阅读次数:
210
Greg has a weighed directed graph, consisting of n vertices. In this graph any pair of distinct vertices has an edge between them in both directions. Greg loves playing with the graph and now he has in...
分类:
其他好文 时间:
2015-04-27 15:17:42
阅读次数:
112
Typical tree recursion works. The key is: ANY node can be treated as the root, since it is about edge, not about node. This simplifies things a lot.#i...
分类:
其他好文 时间:
2015-04-27 14:59:09
阅读次数:
120
首先来介绍下我们的web管理工具:
iF.SVNAdmin(http://svnadmin.insanefactory.com/):一个基于WEB GUI的方式管理SVN,包括:repos管理、用户管理、用户组管理、权限管理等多种功能,底层也很简单,是通过修改Subversion authorization 和 user authorization 两个文件完成其管理功能(现不支
持数据库u...
分类:
Web程序 时间:
2015-04-27 11:21:33
阅读次数:
196
三、编译固件
1.准备编译环境(推荐使用Ubuntu系统)
以Ubuntu 14.04 x64为例,安装编译所需工具和库。
$ sudo apt-get install git-corebuild-essential libssl-dev libncurses5-dev unzip
$ sudo apt-get install subversion mercurial
$ sudo ap...
分类:
其他好文 时间:
2015-04-27 02:05:13
阅读次数:
416
定义:n个节点的树,任选一个节点V0,找到距离它最远的节点V1,再找距离V1最远的节点V2,edge(V1,V2) 即为树的直径.
理解:edge(V0,V1)一定会经过root(不理解的话你画个图试试~),则edge(root,V1)即为距离root最长,或次长的边.
因此,再从V1出发,找距离V1最远的节点V2,必定通过root,所以可以看成是找距离root最远的节点V2(不能回头搜索V1...
分类:
其他好文 时间:
2015-04-25 18:24:14
阅读次数:
143
//枚举所有边,把该树分为两个树,分别求两颗数的最小的改变量
#include
#include
#include
using namespace std ;
const int maxn = 3030 ;
const int inf = 0x7fffffff ;
int dp[maxn] ;
struct Edge
{
int flag , v;
int u...
分类:
其他好文 时间:
2015-04-25 16:45:41
阅读次数:
191
一、流行的版本控制系统·CVS·Subversion·Arch·Bazaar·BitKeeper二、什么是Git?非常简单地说,Git是LinusTorvalds最近实现的源代码管理软件。正如所提供的文档中说的一样,“Git是一个快速、可扩展的分布式版本控制系统,它具有极为丰富的命令集,对内部系统提...
分类:
其他好文 时间:
2015-04-25 15:06:14
阅读次数:
126
SCMROAD:http://www.scmroad.com/forum.phpSCMEYE:http://www.scmeye.com/SVN管家:http://www.svnclub.com/SCMLIFE:http://cm.scmlife.com/Subversion权限管理前端:iF.sv...
分类:
其他好文 时间:
2015-04-24 21:06:05
阅读次数:
132
如何以 GIT 的方式思考(这里可以不用看懂,接着看下面的内容,看完就全懂了。)懂得 Git,第一件重要的事情就是要知道它与 Subversion、Perforce 或者任何你用过的版本控制工具都有着很大的差别。 通常,忘掉你预想的版本控制方式,改以 Git 的方式思考,能够帮助你更好地学习 Git...
分类:
其他好文 时间:
2015-04-24 20:48:20
阅读次数:
162