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

did i have to assign a txt file?
Posted by le_hobbit 16 Mar 2008 04:07
It is necessary to assign a text file to compile and run this program? My code:

program reverseroot;

VAR
a:array[1..1000000] of extended;
i,n:integer;
equal:real;


begin
read(n) {reading range}
for i:=1 to n do
read(a[i]);
for i:=n downto 1 do
writeln(sqrt(a[i]):0:4);

end.