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

Accepted C#
Posted by PI−2016-Trykoza 30 Mar 2016 22:45

using System;

namespace ConsoleApplication3
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] s = Console.In.ReadToEnd().Split(new char[] { ' ', '\n', '\r', '\t' }, StringSplitOptions.RemoveEmptyEntries);

            for (int i = s.Length - 1; i >= 0; i--)
            {
                Console.WriteLine("{0:0.0000}",Math.Sqrt(double.Parse(s[i])));
            }
        }
    }
}
Re: Accepted C#
Posted by Shaoz 8 Feb 2018 07:02
We need a ranking for the least amount of code.
Re: Accepted C#
Posted by Sayfiddinov Quvondiq 316-16 4 Mar 2018 20:07
I think It doesn't matter. Algorithm is important!