1 solutions

  • 0
    @ 2026-1-23 22:14:13
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
        double a[5],b[5]={28.9,32.75,45.6,78.0,35.7},s=0;
        for(int i=0;i<5;i++)cin>>a[i];
        for(int i=0;i<5;i++)s+=a[i]*b[i];
        cout<<s;
    }
    
    • 1

    Information

    ID
    1832
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    10
    Tags
    # Submissions
    4
    Accepted
    2
    Uploaded By