Rabbit hunt
摘要:
poj2606:http://poj.org/problem?id=2606给你n个点,求在一条直线上的点最多有几个。题解:直接暴力,但是要注意,横坐标相等的情况,这是不能求斜力,只能特殊处理。 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 struct Node{ 7 int x; 8 int y; 9 }node1[102];10 int n;11 int ans;12 double KK(Node a,Node b){13 if(a.x!=b.x)14 ret... 阅读全文
posted @ 2013-10-24 09:49 天依蓝 阅读(363) 评论(0) 推荐(0)
浙公网安备 33010602011771号