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;
    }
    
    
    • 0
      @ 2024-10-23 18:46:13

      #include<bits/stdc++.h> using namespace std; int main(){ double a,b; scanf("%lf%lf",&a,&b); double c=(a3.5+b7.5)/11.0; printf("MEDIA = %.5 lf",c); return 0; }

      • 1

      Information

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