/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ #include using namespace std; int main(){ int q; cin>>q; for(int a=0;a>n; int x[n]; int y[n]; int xMax,xMin,yMax,yMin; for(int b=0;b>x[b]; cin>>y[b]; if(b==0){ xMax=x[0]; xMin=x[0]; yMax=y[0]; yMin=y[0]; } if(x[b]xMax) xMax=x[b]; if(y[b]yMax) yMax=y[b]; } bool res=true; for(int a=0;a