1 solutions

  • 0
    @ 2024-7-16 19:54:25

    你们肯定都会做,不过我知道你们到这里来干什么

    #include<bits/stdc++.h>
    using namespace std;
    double r1,r2;
    int main(){
    	cin>>r1>>r2;
    	cout<<fixed<<setprecision(2)<<1/((1/r1)+(1/r2));
    	return 0;
    }
    
    • 1

    Information

    ID
    6859
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    1
    Tags
    # Submissions
    11
    Accepted
    10
    Uploaded By