|
|
back to boardhelp me. wrong answer in test 1 (C) Posted by Evgeny 29 Dec 2013 06:03 #include <stdio.h> #include <math.h> int foo () { long long int a; while(scanf ("%lld",&a)!=EOF) { foo (); printf ("%.4f\n",sqrt ((double)a)); return 0; } } int main () { foo (); return 0; } Re: help me. wrong answer in test 1 (C) Posted by Evgeny 29 Dec 2013 06:14 )) decided it's need to use double in scanf
|
|
|