2 solutions

  • 1
    @ 2025-3-15 13:48:28
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	double a,b;
    	scanf("%lf%lf",&a,&b);
    	double res=(a*3.5+b*7.5)/11.0;
    	printf("MEDIA = %.5lf",res); 
    	return 0;
    }
    
    

    Information

    ID
    132
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    40
    Accepted
    11
    Uploaded By