/* * Solution Template for A Mindbending Scenario * * This file is provided to assist with reading of input and writing of output * for the problem. You may modify this file however you wish, or * you may choose not to use this file at all. */ #include int r1_x1; int r1_y1; int r1_x2; int r1_y2; int r2_x1; int r2_y1; int r2_x2; int r2_y2; int answer; int main(void) { /* Read the input. */ scanf("%d%d%d%d", &r1_x1, &r1_y1, &r1_x2, &r1_y2); scanf("%d%d%d%d", &r2_x1, &r2_y1, &r2_x2, &r2_y2); /* * TODO: This is where you should compute the answer and store it into the * variable answer. */ /* Write the answer. */ printf("%d\n", answer); return 0; }