6 条题解

  • 0
    @ 2023-9-13 15:17:11
    #include<iostream>
    using namespace std;
    int main(){
         int a,b,c,d;
         cin>>a>>b>>c>>d;
        if(a+b>10){
            cout<<a*b<<endl;
        }
        else if(b+c>5){
            cout<<c*d<<endl;
        }
        else if (d<10||a*c>100){
            cout<<"Yes"<<endl;
        }
        else{cout<<"No"<<endl;}
    	return 0;
        }	
    

    信息

    ID
    15
    时间
    1000ms
    内存
    128MiB
    难度
    6
    标签
    递交数
    9132
    已通过
    2542
    上传者