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

Wrong Answer [PASCAL]
Posted by Armstrong091 18 Jul 2010 19:10
procedure do;
var     n:int64;
begin
        if eof then exit;
        read(n);
        do;
        writeln(sqrt(n):0:4);
end;

begin
        do;
end.


I think this problem is quite easy.
Please tell me why it gives wrong answer, thank you!
Re: Wrong Answer [PASCAL]
Posted by Andrew Shmig aka SKYDOS [Vladimir SU] 18 Jul 2010 19:13
Re: Wrong Answer [PASCAL]
Posted by Bobby Salim 4 Oct 2010 15:08

var a:real;

begin

read(a);
writeln(sqrt(a):0:4)

end.

why is my answer wrong??
Re: Wrong Answer [PASCAL]
Posted by Сергей 16 Apr 2014 21:45
1.Файл входной не превышает 256 кб
2. В обратном порядке выводишь ты числа
Re: Wrong Answer [PASCAL]
Posted by wensheng 4 Jun 2014 11:20
I think your input problem.
But it is easy to correct it!
Armstrong091 wrote 18 July 2010 19:10
procedure do;