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

Whats wrong? C
Posted by Sanchir 3 Feb 2019 16:01

#include <stdio.h>
#include <math.h>
main(void)
{
long long i;
    while(scanf("%lli", &i) != EOF)
           printf("%.4f\n", (double)sqrt(i));
    }
Re: Whats wrong? C
Posted by Miad Hasan 10 Nov 2019 22:27
You have print the integers in reverse order of the input sequence.