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

Why WA #1?
Posted by dxtdxt 5 May 2010 19:50
program temp;
var
  a:array [1..1000000] of qword;
  i,m:longint;
begin
  while not eof do begin
    inc(i);
    read(a[i]);
  end;
  for m:=i downto 1 do writeln(sqrt(a[m]):0:4);
end.

What's the problem?
为何#1就不过?

Edited by author 05.05.2010 19:51
Re: Why WA #1?
Posted by dxtdxt 5 May 2010 20:03