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 1205. By the Underground or by Foot?

Help me please!
Posted by Loky_Yuri [USTU] 24 Jan 2007 20:40
I know that the first test is like sample, so I passed
begin
  writeln('2.6346295');
  write('4 4 2 1 3');
end.
and got WA#2. And my REAL program get the same answer, but I have Crash (floating-point invalid operation) from Judge.
This is my program:
[Code deleted by author]
Please, answer me anybody!

Edited by author 24.01.2007 23:29
Re: Help me please!
Posted by KIRILL(ArcSTU) 24 Jan 2007 23:01
I don't understand FreePascal at all:)
Paste this line
Type  extended=real;
Re: Help me please!
Posted by Loky_Yuri [USTU] 24 Jan 2007 23:28
Thank you very much!!! AC now!
PS I have never done this myself!)