今天导入公司项目,maven聚合项目,但是项目目录结构不正确,内层的项目的parent不是外层项目,这个......有点无语,结果导入直接报错。同事说,我们导入是好好的啊,原来他们用的是eclipse我用的是idea,eclipse导入maven项目可以同时导入多个,而idea每次只能打开一个,但是 ...
分类:
其他好文 时间:
2019-01-28 15:13:49
阅读次数:
162
本文主要是工作过程中总结的一些jvm调优的参数和注意的地方,作为一个备忘录,先占个坑,有时间在来细化具体的实例。 1. gc日志是覆盖的方式如果文件名字固定会导致上一次被覆盖可以采用这个 Xloggc:backv2_gc_%t.log 2. jinfo 可以动态修改java XX:+PrintFla ...
分类:
其他好文 时间:
2019-01-28 10:45:50
阅读次数:
421
《RAY TRACING THE REST OF YOUR LIFE》开篇 ...
分类:
其他好文 时间:
2019-01-27 21:53:39
阅读次数:
303
Chapter 1. Points and Lines (已看) Chapter 2. Geometry Snippets (已看) Chapter 3. Trigonometry Snippets (已看) Chapter 4. Vector Operations (已看) Chapter 5. ...
分类:
其他好文 时间:
2019-01-27 19:16:20
阅读次数:
138
Problem A. Two distinct points [题解] 显然 , 当l1不等于r2时 , (l1 , r2)是一组解 否则 , (l1 , l2)是一组合法的解 时间复杂度 : O(1) [代码] Problem B. Divisors of Two Integers [题解] 首先 ...
分类:
其他好文 时间:
2019-01-24 21:50:25
阅读次数:
167
You are given two segments [l1;r1][l1;r1] and [l2;r2][l2;r2] on the xx-axis. It is guaranteed that l1<r1l1<r1 and l2<r2l2<r2. Segments may intersect, ...
分类:
其他好文 时间:
2019-01-24 13:16:25
阅读次数:
86
Problems | | Name | | : : | | | "A" | "Two distinct points " | | "B" | "Divisors of Two Integers " | | "C" | "Nice Garland " | | "D" | "Diverse Garlan ...
分类:
其他好文 时间:
2019-01-24 11:11:57
阅读次数:
147
题解 CF576C 【Points on Plane】 一道很好的思维题。 "传送门" 我们看这个曼哈顿距离,显然如果有一边是按顺序排列的,显然是最优的,那另一边怎么办呢? 假如你正在$ioi$赛场上,此时遇到一个$n\le 10^6$的题目,你现在发现自己的排列最坏情况是$O(n^2)$的,你怎么 ...
分类:
其他好文 时间:
2019-01-23 21:39:33
阅读次数:
274
E. Covered Points 利用克莱姆法则计算线段交点。n^2枚举,最后把个数开方,从ans中减去。 ans加上每个线段的定点数, 定点数用gcs(△x , △y)+1计算。 ...
分类:
其他好文 时间:
2019-01-22 14:24:21
阅读次数:
221
Difficulty: Easy Problem We have a list of on the plane. Find the closest points to the origin . (Here, the distance between two points on a plane is ...
分类:
其他好文 时间:
2019-01-22 13:13:15
阅读次数:
228