#include using namespace std; using ll = long long; #define rep(i,n) for(int (i)=0;(i)<(int)(n);++(i)) #define all(x) (x).begin(),(x).end() #define pb push_back #define fi first #define se second #define dbg(x) cout<<#x" = "<<((x))< ostream& operator<<(ostream& o, const pair &p){o<<"("< ostream& operator<<(ostream& o, const vector &v){o<<"[";for(T t:v){o<0); else{ double dy = y[i]-y[1]; if(dy>0) r = min(r,(x[1]-x[i])/dy); else l = max(l,(x[1]-x[i])/dy); } } if(ok && l0) l = max(l,(x[1]-x[i])/dy); else r = min(r,(x[1]-x[i])/dy); } } if(ok && l