|
|
back to boardruntime error access violation Posted by Eugene 14 Apr 2014 23:16 #include <iostream> #include <iomanip> #include <math.h> using namespace std; int main() { long double a[100000]; int i = -1; while (cin >> a[++i]); while (i > 0) cout << fixed << setprecision(4) << sqrt(a[--i]) << endl; return 0; } |
|
|