8 条题解

  • 2
    @ 2022-1-23 13:52:53
    #include <iostream>
    using namespace std;
    int main(){
        int n;
        cin>>n;
        if(n>=90)
            cout<<"Great"<<endl;
        else if(n>=70)
            cout<<"Good"<<endl;
        else if(n>=60)
            cout<<"Average"<<endl;
        else    
            cout<<"Poor"<<endl;
        return 0;
    }
    • 1
      @ 2024-12-6 17:52:21
      #include<iomanip>
      #include<cmath>
      using namespace std;
      int a;//声明全局变量
      int main()
      {
      	cin>>a;
      	if(a>=90&&a<=100)//判断分数等级
      	cout<<"Great";//输出分数等级
      	else if(a>=70&&a<=89)
      	cout<<"Good";
      	else if(a>=60&&a<89)
      	cout<<"Average";
      	else 
      	cout<<"Poor";
      	return 0;
      }
      
      • 1
        @ 2023-9-2 16:03:20
        #include <iostream>
        using namespace std;
        int main()
        {
         int n;
         cin>>n;
         if(n>=90&&n<=100)
         {
            cout<<"Great"<<endl;
         }
         else if(n>=70&&n<=89)
         {
            cout<<"Good"<<endl;
         }
         else if(n>=60&&n<=69)
         {
            cout<<"Average"<<endl;
         }
         else if(n>=0&&n<=59)
         {
           cout<<"Poor"<<endl;
         }
           return 0;
        }
        
        • 0
          @ 2025-4-20 12:13:32

          满分代码

          #include<iostream>
          using namespace std;
          int main ()
          {
          	int a;
          	cin >> a;
          	if(a>=90)
          	{
          		cout << "Great";
          	}
          	
          	if(a>=70&a<90)
          	{
          		cout << "Good";
          	}
          	 if(a>=60&a<70)
          	{
          		cout << "Average";
          	}
          	if(a<60)
          	{
          		cout << "Poor";
          	}
          }
          
          
          • 0
            @ 2025-1-29 10:34:25
            #include<bits/stdc++.h>
            using namespace std;
            const int N=1e5+5,INF=0x3f3f3f3f;
            int n; 
            int main()
            {
            	cin>>n;
            	if(n>=90)cout<<"Great";
            	else if(n>=70)cout<<"Good";
            	else if(n>=60)cout<<"Average";
            	else cout<<"Poor";
            	return 0;
            }
            
            • 0
              @ 2024-11-23 20:21:29
              #include <iostream>
              using namespace std;
              int main()
              {
                  int n;
                  cin >> n;
                  if(90<=n&&n<=100)
                  {
                      cout << "Great";
                  }
                  else if(70<=n&&n<=89)
                  {
                      cout << "Good";
                  }
                  else if(60<=n&&n<=69)
                  {
                      cout << "Average";
                  }
                  else
                      cout << "Poor";
                  return 0;
              }
              

              有标志认证,属三无产品,请各位放心食用

            • 0
              @ 2023-12-24 13:03:27

              #include #include #include using namespace std; const int N=1e3+10; const int INF=0x3f3f3f3f; int a; int main(){ cin>>a; if(a<=100&&a>=90) cout<<"Great"; else if(a<=89&&a>=70) cout<<"Good"; else if(a<=69&&a>=60) cout<<"Average"; else cout<<"Poor"; }

              • 0
                @ 2021-10-29 13:03:13
                1. f=eval(input())
                2. if f>=90 and f<=100:
                3. print('Great')
                4. if f>=70 and f<=89:
                5. print('Good')
                6. if f>=60 and f<=69:
                7. print('Average')
                8. if f<=59 and f>=0:
                9. print('Poor')
                • 1

                信息

                ID
                857
                时间
                1000ms
                内存
                128MiB
                难度
                3
                标签
                递交数
                182
                已通过
                101
                上传者