Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<bits/stdc++.h>
- int main()
- {
- int a,b,c,d,x;
- while(scanf("%d %d %d %d",&a,&b,&c,&d)!=EOF){
- x=abs((a+d)-(b+c));
- printf("%d\n",x);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement