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
Re: {c++} What's wrong here ? It seems like my compiler shows right answer ... Please , give a hand guys
Posted by Asce 6 Aug 2018 18:45
we have to print in reverse order.
Re: {c++} What's wrong here ? It seems like my compiler shows right answer ... Please , give a hand guys
Posted by Kirill 8 Oct 2018 18:14
ТЫ ПРОСТО ЛОХ
Re: {c++} What's wrong here ? It seems like my compiler shows right answer ... Please , give a hand guys
Posted by naruto Uzumaki 9 Oct 2018 13:38
here
you have to print the answer in the reverse order.
Re: {c++} What's wrong here ? It seems like my compiler shows right answer ... Please , give a hand guys
Posted by My tearZ My Pain 12 Jan 2022 09:52
Тяжело

Edited by author 12.01.2022 09:52