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 1036. Lucky Tickets

Interesting Question
Posted by Neymanov Tural 21 Dec 2007 13:02
maybe it will be more interesting for me but....


...anyway, can't function be array, record, set in Pascal?

thanks.



Edited by author 21.12.2007 13:28
Re: Interesting Question
Posted by LiuKe 9 Apr 2008 18:26
Of course
Re: Interesting Question
Posted by LiuKe 20 Nov 2008 21:01
But...
You Can define A type
for example:
type
  rec=record
    x,y:Longint;
  end;
function f(a:rec):rec;
begin
end.

Is Right
Re: Interesting Question
Posted by LiuKe 20 Nov 2008 21:02
Really Interesting!
Posted by LiuKe April 09, 2008 18:26
Posted by LiuKe November 20, 2008 21:01

Re: Interesting Question
Posted by Smilodon_am 17 Aug 2009 17:57
You can't make function with such returning value as record or array in complier version Turbo Pascal 7.0. But Delphi allows us do such things. Compiler of this site (Free Pascal) allows us too.