题解
2023-09-01 12:25:06
发布于:广东
2阅读
0回复
0点赞
#include <iostream>
using namespace std;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
int bb, ba;
cin >> bb >> ba;
int sb, sa;
cin >> sb >> sa;
int gb, ga;
cin >> gb >> ga;
int pb, pa;
cin >> pb >> pa;
int gp = pa - pb;
int sg = ga - gb + pa - pb;
int bs = sa - sb + ga - gb +
pa - pb;
cout << bs << "\n" << sg << "\n" << gp;
return 0;
}
这里空空如也
有帮助,赞一个