|
|
back to boardWrong Answer: Can't Understand Why! I am getting wrong answer. But output is identical in my computer. Here is my code - #include <stdio.h> #include <math.h> #define ARRSIZE 32768 int main(){ unsigned long int n, a[ARRSIZE]; int i = -1; while(!feof(stdin)){ i++; scanf("%lu", &n); a[i] = n; } i--; for(; i >=0; i--){ printf("%0.4lf\n", sqrt(a[i])); } return 0; } |
|
|