Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- #include <stdio.h>
- #include <iostream>
- using namespace std;
- int main()
- {
- freopen ("Input.txt", "r", stdin);
- freopen ("Output.txt", "w", stdout);
- int x1,x2,x3,y1,y2,y3;
- scanf("%lf%lf%lf%lf%lf%lf",&x1,&y1,&x2,&y2,&x3,&y3);
- int ansx=x2+x3-x1;
- int ansy=y2+y3-y1;
- printf("%lf%lf",ansx,ansy);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement