|
|
вернуться в форумPLS Help me someone ! What is the problem here... Послано AAA 24 ноя 2013 23:12 #include <stdio.h> #include <math.h> int main(void) { long long number[1000000]; int i=0,k; while(scanf("%lld", &number[i++]) == 1); k=i-1; while(k>0) { printf("%.4lf\n", sqrt((double)number[--k])); } return 0; } Re: PLS Help me someone ! What is the problem here... while(scanf("%lld", &number[i++]) != EOF){/*...*/} |
|
|