Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2. #include <stdio.h>
  3. #include <iostream>
  4.  
  5. using namespace std;
  6.  
  7. int main()
  8. {
  9. freopen ("Input.txt", "r", stdin);
  10. freopen ("Output.txt", "w", stdout);
  11. int x1,x2,x3,y1,y2,y3;
  12. scanf("%lf%lf%lf%lf%lf%lf",&x1,&y1,&x2,&y2,&x3,&y3);
  13. int ansx=x2+x3-x1;
  14. int ansy=y2+y3-y1;
  15. printf("%lf%lf",ansx,ansy);
  16. return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement