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

AC Programm on Pascal
Posted by Dmitry_GOLD 11 Dec 2012 00:24
uses
  SysUtils;

var
 x:array [1..150000] of real;
 size,i:integer;
 n:double;
begin
  size:=0;
  while not seekeof do
  begin
    read(n);
    inc(size);
    x[size] := sqrt(n);
  end;
  for i:=size downto 1 do
    writeln(x[i]:0:4);
  readln;
  readln;
  readln;
end.