|
|
back to boardtest 1: wa #include <stdio.h> #include <stdlib.h> #include <math.h> int main() { static int j; double *a; long long i; a=calloc(0,sizeof(double)*268435456); while(scanf("%lld", &i)!=EOF){ a[j]=sqrt((double)i); j++; } for(;j;j--,printf("%.4f\n",a[j])); } |
|
|