1 条题解

  • 0
    @ 2026-3-28 14:20:02

    C++ :

    #include<iostream>
    using namespace std;
    int main(){
    	int a,b,c,d,x;
    	cin>>a>>b>>c>>d;
    	x=0;
    	if(a>=60&&b>=60&&c>=60&&d>=60){
    		if(a>=90){
    			x=x+1;
    		}
    		if(b>=90){
    			x=x+1;
    		}
    		if(c>=90){
    			x=x+1;
    		}
    		if(d>=90){
    			x=x+1;
    		}
    		if(x == 4){
    			x=x+1;
    		}
    		cout<<x<<endl;
    	}else{
    		cout<<"Poor LanYangYang"<<endl;
    		
    	}
    	
    }
    
    • 1

    信息

    ID
    1008
    时间
    1000ms
    内存
    16MiB
    难度
    10
    标签
    递交数
    1
    已通过
    1
    上传者