#include<bits/stdc++.h> using namespace std; const int N=1e5+10; struct L{ double x,y1,y2; bool flg; }line[N]; int cnt; double seg[N]; double tree[N*4]; int lazy[N*4]; unordered_map<double,int> mp; void build(int p,int l,int r){ if(l==r){ tree[p]=0; lazy[p]=0; return ; } int mid=(l+r)>...