魈凯KBS • 5个月前
int main(){
int a,x=0; for (int i=0;i<4;i=i+1){ std::cin>>a; if (a==1) x=x+1; } if(x>=2) x=4-x; std::cout<<x;
}
评论:
这种呢比较简单的百分百对的方法