#include <stdio.h> //傻卵都给你爹注意,一定 int main() { int a,b; scanf("%d %d",&a,&b); float c,d; c=1.0/a+1.0/b; d=1.0/c; printf("%f",d); return 0; }