ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1001. Reverse Root

what is wrong
Posted by mahmoudnoaman 9 Oct 2012 06:24
// modify precision
#include <iostream>
#include<math.h>
#include<limits>
using namespace std;

int main ()
{
    //typedef std::numeric_limits<double>dbl;
 double A;
 double B;
 cin>>A;
 B=sqrt(A);
 cout.setf(ios::fixed);
 cout.precision(4);
 cout<<fixed<<B<<endl;
  return 0;
}