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;
    
    • 0
      @ 2025-10-12 16:09:49
      #include<bits/stdc++.h>
      using namespace std;
      int main()
      {
      	int a,b;
      	cin>>a>>b;
      	double n=(a*87+b*85)*1.0/(a+b);
      	printf("%.4lf",n);
      	return 0;
      }
      
      
      
      • -2
        @ 2025-10-12 10:20:16

        你也被骗了

        • -3
          @ 2025-9-21 13:45:27

          你被骗了

          • 1

          Information

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