#include #include #include #include #include using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int t; cin>>t; for(int i=0;i>q; vector x(q); vector y(q); bool dot=true; for(int j=0;j>x[j]>>y[j]; int var_x1=0,var_x2=0,var_y1=0,var_y2=0; bool bvar_x1=false,bvar_x2=false,bvar_y1=false,bvar_y2=false; for(int j=0;j