|
|
back to boardwhy i get Output limit exceeded on test 1 #include<stdio.h> #include<math.h> int main() { unsigned long long int a[1000],i=0,b,c; double s; while(scanf("%llu",&b)!=EOF) { a[i]=b; i++; c=i; } for(i=c;i>=0;i--) { s=sqrt(a[i]); printf("%.4lf\n",s); } return 0; } |
|
|