|
|
back to boardwhats wrong Posted by zipopa 15 Feb 2013 22:25 #include <iostream> #include <cmath> int i=0; using namespace std; void f(); int main() { cout.setf( ios::fixed ); cout.precision( 4 ); f(); return 0; } void f() { long int a; if (cin >> a) f(); if (i!=0) { cout << sqrt((double)a) << endl;} else i++; } |
|
|