|
|
back to boardWhy WA 2 Posted by Ildar 12 Feb 2010 02:06 Hi. #include<iostream> #include<math.h> #include<iomanip> using namespace std; int main(){ int i=0; double *a=new double[8000000]; double c; while(cin.eof()==false){ cin>>c; a[i]=sqrt(c); i++; } i--; i--; while(i>=0){ cout<<setprecision(4000)<<a[i]<<'\n'; i--; } return 0; } WA 2. Why? |
|
|