|  | 
|  | 
| вернуться в форум | Whats wrong? (but works correctly on my computer) #include <stdio.h>#include <math.h>
 
 int main()
 {
 unsigned long long int in[320000];
 int count = 0;
 while (scanf("%llu",&in[count]) != EOF) count++;
 while (count > 0){
 printf("%.4Lf\n",sqrtl(in[count-1]));
 count--;
 }
 return 0;
 }
 
 Edited by author 21.03.2013 17:19
Re: Whats wrong? (but works correctly on my computer) #include <stdio.h>#include <math.h>
 
 int main()
 {
 unsigned long long int in[131072];
 int count = 0;
 while (scanf("%llu",&in[count]) == 1) count++;
 while (count > 0){
 printf("%.4Lf\n",sqrtl(in[count-1]));
 count--;
 }
 return 0;
 }
 | 
 | 
|