2 条题解

  • 1
    @ 2024-5-2 13:56:34

    是因为这题太简单所以没人交题解么?

    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        long long a;
        double n,h=0.0;
        cin>>a;
        for(int i=1;i<=a;i++){
            cin>>n;
            h+=n;
        }
        printf("%.2f",h);
        return 0;
    }
    

    信息

    ID
    713
    时间
    1000ms
    内存
    256MiB
    难度
    5
    标签
    递交数
    79
    已通过
    29
    上传者