1 solutions
-
0
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
Information
- ID
- 10886
- Time
- 1000ms
- Memory
- 16MiB
- Difficulty
- (None)
- Tags
- # Submissions
- 0
- Accepted
- 0
- Uploaded By