// NOTE: it is recommended to use this even if you don't understand the following code. #include #include #include #include int T, Bs, Bx, By, Ds, Dx, Dy; char dir; int main() { // uncomment the two following lines if you want to read/write from files // freopen("input.txt", "r", stdin); // freopen("output.txt", "w", stdout); assert(3 == scanf("%d%d%d", &Dx, &Dy, &Ds)); assert(3 == scanf("%d%d%d", &Bx, &By, &Bs)); assert(1 == scanf(" %c", &dir)); T = 0; // INSERT YOUR CODE HERE printf("%d\n", T); return 0; }