1 solutions
-
0
C++ :
#include<bits/stdc++.h> using namespace std; int x,ans,bj; int main() { // freopen("589.in","r",stdin); // freopen("589.out","w",stdout); for(int i=0;i<4;i++) { cin>>x; if(x>=90) ans++; if(x<60) bj=1; } if(bj==1) {cout<<"Poor LanYangYang";return 0;} if(ans==4) ans++; cout<<ans; return 0; }
- 1
Information
- ID
- 961
- Time
- 1000ms
- Memory
- 128MiB
- Difficulty
- 10
- Tags
- # Submissions
- 1
- Accepted
- 1
- Uploaded By