3 条题解

  • 1
    @ 2025-12-21 21:29:38
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        double r1,r2;
        cin>>r1>>r2;
        double R=1/((1/r1)+(1/r2));
        cout<<fixed<<setprecision(2)<<R;
        return 0;
    }
    

    信息

    ID
    6872
    时间
    1000ms
    内存
    128MiB
    难度
    1
    标签
    递交数
    17
    已通过
    15
    上传者