#include #include using namespace std; using bdec = boost::multiprecision::cpp_dec_float_100; int main() { cin.tie(nullptr); ios_base::sync_with_stdio(false); int N; cin >> N; bdec ans = 0; long double x; while (cin >> x) cout << fixed << setprecision(20) << (ans += sqrtl(x)) << "\n"; }