3 条题解

  • 1
    @ 2023-10-20 16:48:28

    哇,简单的

    #include <bits/stdc++.h>
    using namespace std;
    
    int main(){
        int a, b, c;
        cin >> a >> b >> c;
        cout << (int)(a * 0.2 + b * 0.3 + c * 0.5);
        return 0;
    }
    
    • 0
      @ 2023-10-21 20:34:59
      #include <bits/stdc++.h>
      using namespace std;
      int main()
      {
      	int A,B,C;
      	cin>>A>>B>>C;
      	cout<<A*0.2+B*0.3+C*0.5<<endl;
      	return 0;
      }
      
      • 0
        @ 2022-6-12 10:14:35
        #include<iostream>
        #include<cstdio>
        using namespace std;
        int a,b,h,x;
        int main()
        {
            cin>>a>>b>>h;
            cout<<a/5+b/10*3+h/2;
            return 0;
        }
        
        • 1

        信息

        ID
        183
        时间
        1000ms
        内存
        256MiB
        难度
        6
        标签
        递交数
        15
        已通过
        13
        上传者