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

i dont know whats wrong with my code
Posted by Putu Gede Semara Putra 21 Jan 2017 18:16
hello i have problem with my code and i dont know where is it T_T
here is my code :

var a:real;
i,k:integer;
z:array[1..100]of real;
begin
k:=1;
while not eof do begin
read(a);
z[k]:=sqrt(a);
k:=k+1;
end;
for i:=k-1 downto 1 do begin
    writeln(z[i]:0:4);
    end;
end.