retrieve to get something back scrap to discard or discontinue something because it is considered useless or ineffective measure to find out the size, ...
分类:
移动开发 时间:
2017-08-29 10:12:10
阅读次数:
160
本人在CentOS7上在 执行”gem install rmagick“是报错,具体情况如下: 报错如下: [root@localhost ~]# gem install rmagick -v '2.16.0'Building native extensions. This could take a ...
分类:
其他好文 时间:
2017-08-24 15:04:18
阅读次数:
360
个人由于没有安装mysql而是装的MariaDB,所以网上说安装mysql,故没有采用,经查阅资料后,详细情况如下: Gem时报错: [root@localhost ~]# gem install mysql2 -v '0.3.21'Building native extensions. This ...
分类:
数据库 时间:
2017-08-24 12:38:41
阅读次数:
241
题目:洛谷P2872、POJ3625。 题目大意:给你n个点的坐标,有些点已经有边连通,现在要你连上剩下的所有点,求这些边的最小长度是多少(不包括原来的边)。 解题思路:最小生成树,把所有边处理出来,跑Kruskal即可。注意原来有的边优先级最高且长度不加进答案。由于边的总数是$n^2$级别的,所以 ...
分类:
其他好文 时间:
2017-08-23 10:36:04
阅读次数:
169
http://acm.hdu.edu.cn/showproblem.php?pid=2818 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 59 ...
分类:
其他好文 时间:
2017-08-22 23:20:02
阅读次数:
223
http://poj.org/problem?id=1988 Time Limit: 2000MS Memory Limit: 30000K Total Submissions: 25865 Accepted: 9044 Case Time Limit: 1000MS http://poj.org/ ...
分类:
其他好文 时间:
2017-08-22 15:59:25
阅读次数:
206
***修改eclipse 代码提示级别1.单个项目修改项目上右键-->properties-->java compiler-->building-->enable project specific setting-->build path problems-->选中abort Incomplete ...
分类:
系统相关 时间:
2017-08-20 16:54:41
阅读次数:
178
读了mesos的论文(https://people.eecs.berkeley.edu/~alig/papers/mesos.pdf ),感觉应用在 CI 上的资源管理很赞,能够解决 jenkins在构建中,分配 executor 以及 executor 在building 的时候 hang 的问题 ...
分类:
其他好文 时间:
2017-08-18 09:40:36
阅读次数:
169
Ahmet Taspinar Home About Contact Home About Contact Home About Contact Home About Contact Home About Contact Home About Contact Building Convolutiona ...
分类:
Web程序 时间:
2017-08-17 12:56:59
阅读次数:
356
题解: 考虑用线段树维护楼的最大值,然后这个问题就很简单了。 每次可以向左二分出比x高的第一个楼a,同理也可以向右二分出另一个楼b,如果a,b都存在,答案就是b-a-1。 注意到二分是可以直接在线段树上进行的,所以复杂度是O(nlogn)。 当然这里是用分块做的,更暴力一些。 ...
分类:
其他好文 时间:
2017-08-16 19:09:52
阅读次数:
191