|
|
вернуться в форумcan you help?? #include <cstdio> #include <cmath> #include <iostream> using namespace std; int main() { double ssqrt[4370],n; int i=0; while(cin>>n) { ssqrt[i]=sqrt(n); i++; } for(i-=1;i>=0;i--) printf("%.4f\n",ssqrt[i]); return 0; } Re: can you help?? Послано TimoX 8 авг 2007 02:06 Why 4370? ;) And how I see, you have "Crash (access violation)". It's problem of sizes. I thing you must thing in this way. Good Luck! |
|
|