所有情况,不用脑子的方法
2025-02-05 10:58:10
发布于:北京
8阅读
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+d3){
e=1;
}else if(a+b+c+d2){
e=2;
}else if(a+b+c+d4){
e=0;
}else if(a+b+c+d1){
e=1;
}cout<<e;
return 0;
}
这里空空如也
有帮助,赞一个