3 条题解

  • 0
    @ 2025-8-19 12:01:47
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        double r1,r2;
        cin>>r1>>r2;
        cout<<fixed<<setprecision(2)<<1/((1/r1)+(1/r2));
    }
    
    • 0
      @ 2025-8-19 12:01:16
      #include<bits/stdc++.h>
      using namespace std;
      int main(){
          double a,b;
          cin>>a>>b;
          cout<<fixed<<setprecision(9)<<a/b;
      }
      
      • 0
        @ 2025-8-19 12:01:12
        #include<bits/stdc++.h>
        using namespace std;
        int main(){
            double a,b;
            cin>>a>>b;
            cout<<fixed<<setprecision(9)<<a/b;
        }
        
        • 1

        信息

        ID
        858
        时间
        1000ms
        内存
        128MiB
        难度
        2
        标签
        递交数
        29
        已通过
        15
        上传者