Advertisement
erfanul007

Untitled

Feb 10th, 2019
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2. int main()
  3. {
  4. int a,b,c,d,x;
  5. while(scanf("%d %d %d %d",&a,&b,&c,&d)!=EOF){
  6. x=abs((a+d)-(b+c));
  7. printf("%d\n",x);
  8. }
  9. return 0;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement