Stores the X and Y coordinates
vector < int > X , Y ; for ( int i = 0 ; i < N ; i ++ ) { X . push_back ( x1 [ i ] ) ; X . push_back ( x2 [ i ] - 1 ) ; Y . push_back ( y1 [ i ] ) ; Y . push_back ( y2 [ i ] - 1 ) ; }