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

WA 3
Posted by Grasshopper 27 Jul 2011 02:10
Where can be a problem?
Wrong answer 3
Pascal

program coun;

var a:array[1..1000000] of extended;
i,j:integer; k:extended;
begin
i:=0;
repeat
 read(k);
 i:=i+1;
 a[i]:=sqrt(k);
until eof();
for j:=i-1 downto 1 do
begin
writeln(a[j]:0:5);
end;
end.
Re: WA 3
Posted by Dim 6 Aug 2011 09:21
Do read() unite separated digits in correct values, to sqrt`em further?
I think, something is here.