|
|
back to boardWhy Time limit exceeded ?!! Posted by Pooria 22 Nov 2014 20:08 #include <math.h> #include <iostream> using namespace std; int main() { double *a = new double[131073]; double temp; int i = 0; while (cin >> temp) a[i++] = sqrt(temp); while (i > 0) { printf("%.4f\n", a[--i]); } delete[] a; return 0; } |
|
|