6 条题解

  • 2
    @ 2023-9-5 22:24:51
    double a ;
        cin >> a;
        cout << (a + a * 1.7)/3;
    

    简单 简单 点贊

    • 1
      @ 2023-10-6 17:00:38
      #include <iostream>
      #include <iomanip>
      using namespace std;
      int main()
      {
          int n;
          cin >> n;
          cout << fixed << setprecision(1) << n * 0.9;
          return 0;
      }已AC
      
      • 0
        @ 2023-8-24 11:19:22

        kao,没看到平均成绩……

        过辣!(脑残人士的欢呼)

            long long x;
            cin>>x;
            cout<<fixed<<setprecision(1)<<(x+x*0.8+x*0.9)/3;
        
        • 0
          @ 2023-5-24 21:05:23

          one:

          #include <bits/stdc++.h>
          using namespace std;
          double a;
          int main()
          {
              cin >> a;
              cout << (a * 0.8 + a * 0.9 + a) / 3;
              return 0;
          }
          

          two:

          #include <bits/stdc++.h>
          using namespace std;
          int main()
          {
              cout << 7.2;
              return 0;
          }
          
          • 0
            @ 2023-1-15 10:58:20
            #include <iostream>//hetao3097453
            #include <iomanip>
            using namespace std;
            int main()
            {
                double x;
                cin >> x;
                double x2 = x * 0.8;
                double x3 = x * 0.9;
                double ans = (x + x2 + x3) / 3;
                cout << fixed << setprecision(1) << ans << endl;  
                return 0;
            }
            
            
            • 0
              @ 2022-12-13 16:41:34
              #include <iostream>
              #include <iomanip> //流控制头文件函数库
              using namespace std;
              int main()
              {
              	int n; //定义变量n
              	cin >> n; //输入n
              	cout << fixed << setprecision(1); //保留一位小数
                  cout << (n + n * 0.8 + n * 0.9) / 3 << endl; //输出张晓峰的平均成绩
                  return 0;
              }
              
              • 1

              信息

              ID
              610
              时间
              1000ms
              内存
              64MiB
              难度
              1
              标签
              递交数
              228
              已通过
              150
              上传者