答案:很简单67108864
答案:3181
答案:40257
代码示例如下:
#include#include #include #include using namespace std; const int N= 200000; int n; struct Line{ double k,b; bool operator<(const Line& t) const { if(k != t.k) return k 1e-8||fabs(l[i].b-l[i-1].b) > 1e-8)//已实现排序,故可以这样消除同k同b的直线 res++; cout<



