#include #include int main() { int n; long x[1000000]; scanf("%d", &n); for (int i = 0; i < n; i++) { scanf("%ld", &x[i]); } __float128 s = 0; for (int i = 0; i < n; i++) { s += sqrtl(x[i]); printf("%.17llg\n", (long double) s); } }