#include using namespace std; int main() { float r1,r2,R; scanf("%f%f",&r1,&r2); R=1/(1/r1+1/r2); printf("%0.2f",R); return 0; }
By signing up a HFOJ universal account, you can submit code and join discussions in all online judging services provided by us.
Using your HFOJ universal account