2 条题解

  • 3
    @ 2023-4-6 19:58:31
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
        double a,b,c;
        cin>>a>>b>>c;
        if (a>85&&b>85&&c>85&&(a+b+c)/3>=90)
            cout<<"good";
        else
            cout<<"sorry";
        return 0;
    }
    • -1
      @ 2022-7-19 10:18:36
      if((a + b + c) / 3 >= 90)
          {
              if(a >= 86 and b >= 86 and c >= 86)
              {
                  cout << "good";
                  return 0;
              }   
          }
          cout << "sorry";
          
      
      • 1

      【入门】能不能进入待选名单?

      信息

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