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

{c++} What's wrong here ? It seems like my compiler shows right answer ... Please , give a hand guys
Posted by Said707 12 Nov 2017 17:06
#include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
int main ()
{    long long n;
    while (cin>>n)
{
    cout<<setprecision(4)<<fixed<<sqrt(n)<<endl;
}
return 0;
}

Edited by author 12.11.2017 17:07