1 solutions

  • 0
    @ 2023-9-30 13:46:51
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
         double r1,r2;
         cin>>r1>>r2;
         printf("%.2f",1.0/(1.0/r1+1.0/r2));
         return 0;
    }
    
    • 1

    Information

    ID
    6721
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    3
    Tags
    (None)
    # Submissions
    208
    Accepted
    113
    Uploaded By