#include #include #include using namespace std; int main() { typedef long double real; int N; cin >> N; real ans = 0; cout << fixed << setprecision(17); for (auto i=0; i> x; ans += sqrt(x); cout << ans << endl; } return 0; }