1、新建一个slave节点在Jenkins服务器上 上面中的只有一个需要强调了,就是“Launch method”,我们这里选择的是 “Launch slave agent via java Web Start ”,这个方式建议在windows上使用最好。下面的介绍也是针对的这种launch模式的。 ...
1. 选择要到处JAR文件的工程,右键选择“Export” 2. 选择“Java-->Runnable JAR file”,点击“Next”; 3. 在“Launch configuration”下面的下拉列表中选择程序启动时运行的主类; 在"Export destination"下面的“Brows ...
分类:
编程语言 时间:
2016-08-11 00:25:19
阅读次数:
189
Problem A Launch of Collider 题目大意 在x轴上有n个点,坐标均为偶数。每个点或向左移动或向右移动,每秒移动距离为1。 使所有点同时开始移动,求最早有点相遇的时间或无解。 解题分析 对于每一个向右移动的点,找右边最近的一个向左的点。向左移动同理。 正反扫两遍即可。 参考程 ...
分类:
其他好文 时间:
2016-08-08 20:54:15
阅读次数:
180
好久没做手生了,不然前四道都是能A的,当然,正常发挥也是菜。 A:Launch of Collider 题意:20万个点排在一条直线上,其坐标均为偶数。从某一时刻开始向左或向右运动,速度为每秒1个单位长度。输入给出每个点的坐标及其移动的方向,求发生第一次碰撞的时间,若不会碰撞,则输出-1 最先发生碰 ...
分类:
其他好文 时间:
2016-08-04 21:22:26
阅读次数:
219
维护最新的R,遇到L时如果R出现过就更新答案。 ...
分类:
其他好文 时间:
2016-08-03 23:46:49
阅读次数:
294
// Override point for customization after application launch. //初始化window, 大小为设备物理大小 self.window = UIWindow(frame: UIScreen.mainScreen().bounds) //把wi ...
分类:
编程语言 时间:
2016-07-29 19:00:55
阅读次数:
153
1.右击工程,Export Runnable JAR file,NEXT; 2.Launch configuration,Export destination填写, Library handling:copy required libraries into a sub-folder next to ...
分类:
编程语言 时间:
2016-07-25 15:56:45
阅读次数:
150
错误信息如下: error: Could not find a device to launch. You requested 'iPhone 6 (8.4)', but the available devices were: ["iPad 2 (9.3) [D9ACBD66-90B7-4457-8 ...
分类:
移动开发 时间:
2016-07-25 14:35:28
阅读次数:
261
出错的地方 解决办法 Android M引入了Jack (Java Android Compiler Kit),在编译时会启动jack server,优化编译速度等。 如果遇到jack编译错误,可以把$HOME/.jack中的配置文件中的SERVER=false设成false,不用jack,jack ...
分类:
其他好文 时间:
2016-07-24 10:35:10
阅读次数:
1037
An Intent provides a facility for performing late runtime binding between the code indifferent applications. Its most significant use is in the launch ...
分类:
其他好文 时间:
2016-07-23 18:03:59
阅读次数:
90