#define _CRT_SECURE_NO_WARNINGS #define _USE_MATH_DEFINES #include "bits/stdc++.h" #define REP(i,a,b) for(i=a;i b) swap(a, b); // a <= b printf("%.20lf\n", sqrt(pow(b, 2) - pow(a, 2))); return 0; }