|
|
back to boardCrash (stack overflow)? Posted by Dasha 29 Nov 2012 01:42 #include <stdio.h> #include <math.h> long long int k,n; void reverce (void); int main(void) { reverce(); return 0; } void reverce (void) { long long int a; while(scanf("%lld", &a)) { k++; n++; reverce(); } if (k == n) { n--; return; } printf("%.4lf\n", (double)sqrt(a)); } |
|
|