Please note: the language of this site will now be ENGLISH. Please do not use another language since visitors from different countries will participate in training.

I know the title looks confusing. Basically it's to do with the first practice task on the IOI website. I am using pascal. We are supposed to write a procedure Order(n:longint; A:array of longint); which the grader calls. However in the 'interface' section of the unit, we cannot leave the procedure like that, nor can it be Order(n:longint; A:array [1..8] of longint); I've tried to pre-define the array using 'type xxx=array' but that doesn't work either.
Anyone any ideas?

in Languages by

Please log in or register to answer this question.