// NOTE: it is recommended to use this even if you don't understand the following code. #include #include #include #include using namespace std; int main() { // uncomment the two following lines if you want to read/write from files // ifstream cin("input.txt"); // ofstream cout("output.txt"); int topLeftX, topLeftY; cin >> topLeftX >> topLeftY; int topRightX, topRightY; cin >> topRightX >> topRightY; int bottomRightX, bottomRightY; cin >> bottomRightX >> bottomRightY; int bottomLeftX, bottomLeftY; cin >> bottomLeftX >> bottomLeftY; int N; cin >> N; vector X(N), Y(N); for (int i = 0; i < N; ++i) cin >> X[i] >> Y[i]; int K = 0; // INSERT YOUR CODE HERE cout << K << endl; return 0; }