题解
2025-05-27 22:36:27
发布于:广东
0阅读
0回复
0点赞
#include <bits/stdc++.h>
using namespace std;
int main(){
int a,b,c,d,e = 0;
cin >> a >> b >> c >> d;
if(a + b + c + d == 0){
e = 0;
}else if(a + b + c + d == 1){
e = 1;
}else if(a + b + c + d == 2){
e = 2;
}else if(a + b + c + d == 3){
e = 1;
}else if(a + b + c + d == 4){
e = 0;
}
cout << e;
return 0;
}
这里空空如也
有帮助,赞一个