http://wiki.hudson-ci.org/display/HUDSON/Subversion+Release+ManagerThis plugin allows you to set up a job in Hudson for building specific revisions of...
分类:
其他好文 时间:
2014-08-08 12:30:25
阅读次数:
218
闭包是功能性自包含模块,可以在代码中被传递和使用。 Swift 中的闭包与 C 和 Objective-C中的 blocks 以及其他一些编程语言中的 lambdas 比较相似。闭包可以捕获和存储其所在上下文中任意常量和变量的引用。 这就是所谓的闭合并包裹着这些常量和变量,俗称闭包。Swift会为您...
分类:
其他好文 时间:
2014-08-08 09:35:55
阅读次数:
274
在android studio中新建android gradle project的时候connect refused:connect或者卡在building project...或Refreshing xxx gradle project
===
原因是:
gradle在创建时需要联网,不然的话会失败,我虽然可以联网,但是不能访问gradle网站或者下载不了,所以不行。
感谢伟大的GFW,...
分类:
移动开发 时间:
2014-08-07 19:14:50
阅读次数:
215
A disk array controller has a function of relocating a plurality of data blocks stored in a disk array. The controller includes a read unit which read...
分类:
移动开发 时间:
2014-08-07 00:44:27
阅读次数:
323
题意:有n个绝对值各不相同的非0整数,选出尽量多的数,排成一个序列,使得正负号交替,且绝对值递增。输出最长序列长度。
思路:其实按照绝对值排序后,只要选出正负号交替最长的序列就可以了。用一个标记来表示下一个要选的是正号还是负号。
#include
#include
#include
#include
#include
using namespace std;
co...
分类:
其他好文 时间:
2014-08-06 23:02:42
阅读次数:
219
Game Description:
1. In a closed door, there will be a circle, and 30 numbers in the circle.
2. Each team (about 10 people) need to take number out of the circle by ascend order.
3. Each team has...
分类:
其他好文 时间:
2014-08-06 19:06:02
阅读次数:
359
/*Elevator
The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elevator will stop, in specified order. It...
分类:
其他好文 时间:
2014-08-05 19:23:40
阅读次数:
209
当我们在开发spring项目时,一般会将jar包放到webInf/lib下,这样是myeclipse自动将jar包加载到tomcat中webapps下,但是当我们新建一个lib文件夹的情况下,我们add building Path时就会出错,这时候我们有个技巧供使用。1.项目上点击右键搜索de,找到...
分类:
编程语言 时间:
2014-08-05 18:59:39
阅读次数:
179
~~~~
二维的最长上升子序列。n^2算法居然可以水过。。
就不多说了,排个序,然后DP。
题目链接:http://poj.org/problem?id=1609
~~~~
#include
#include
#include
#include
#define N 11111
using namespace std;
struct node
{
int l,m;
}b[N];
...
分类:
其他好文 时间:
2014-08-04 02:07:06
阅读次数:
232