摘要: 题意:给N个点,求最多有多少个点在同一直线上方法一:求出所有能形成的直线,两两比较,统计最多有多少条重合。 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 typedef long long int64; 9 const int64 maxn = 701; 10 const int64 maxm = 490005; 11 const int64 inf = -123456789; 12 struct Point64{ 13 int x,... 阅读全文
posted @ 2013-11-07 20:39 xxx0624 阅读(338) 评论(0) 推荐(0) 编辑
摘要: By xxx0624Done: ls ls -a ls -l ls /tmp ls -R ls -t FileName color FileName output 1 /* 2 By xxx0624 3 Done: 4 ls 5 ls -a 6 ls -l 7 ls /tmp 8 ls -R 9 ls -t 10 FileName color 11 FileName output 12 */ 13 14 #include 15 #include 16 #include 17 #include 18 #inclu... 阅读全文
posted @ 2013-11-07 09:50 xxx0624 阅读(618) 评论(0) 推荐(0) 编辑