4 solutions

  • 1
    @ 2026-2-11 11:24:48

    #include<bits/stdc++.h> using namespace std; int main() { double x,y;

    cin>>x>>y;
     double c=(x*87+y*85)/(x+y);
    cout<<fixed<<setprecision (4)<<c;
    

    // cout<<c;

    return 0;
    

    Information

    ID
    2823
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    # Submissions
    90
    Accepted
    46
    Uploaded By