2015年1月30日

Max Points on a Line

摘要: Givennpoints on a 2D plane, find the maximum number of points that lie on the same straight line. 1 import java.util.HashMap; 2 import java.util.Itera... 阅读全文

posted @ 2015-01-30 20:26 luckygxf 阅读(165) 评论(0) 推荐(0) 编辑

java 整型相除得到浮点型

摘要: 1 public class TestFloatOrDouble { 2 3 public static void main(String[] args) { 4 Point num1 = new Point(84, 250); 5 Point num2 ... 阅读全文

posted @ 2015-01-30 20:23 luckygxf 阅读(10505) 评论(0) 推荐(0) 编辑

导航