1 #include <iostream>
 2 #include <stdio.h>
 3 using namespace std;
 4 
 5 int main()
 6 {
 7     //freopen("acm.acm","r",stdin);
 8     int a;
 9     int b;
10     int c;
11     int d;
12     int ans;
13     do
14     {
15         cin>>a>>b>>c>>d;
16         if(!a&&!b&&!c&&!d)
17         {
18             break;
19         }
20         ans = (b - c - a)*(-1);
21         cout<<ans<<endl;
22     }
23     while(1);
24 }

 

相关文章:

  • 2022-01-07
  • 2021-08-13
  • 2021-08-09
  • 2022-12-23
  • 2021-10-15
  • 2021-11-12
  • 2021-08-11
  • 2021-09-19
猜你喜欢
  • 2021-06-11
  • 2022-12-23
  • 2022-12-23
  • 2021-06-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案