ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Общий форум

Problem with the system... **PLEASE READ**
Послано Smasher_nine 14 окт 2000 03:45
I asked for help and nobody answered.I can't submit an
answer to problem 1002.With guessing i had managed to strip
my code to the part that gives restricted function.If you
know please answer why the code below gets restriced
function.Also can i use arrays bigger than ~ 65000 bytes
(those pemited by Borland Pacal).I use dynamic allocated
arrays because I use borland pascal but if the system
supports bigger arrays I can use 32 bit compiler like Free
Pascal so please answer my question this time.

type
  Tarr = array [1..100] of byte;
  Tarrsp = array [1..1000] of ^string;
  Tarrsppt = ^Tarrsp;
  Tarrspt = array [1..50] of Tarrsppt;

var
  WL : Tarrspt;
begin
  new(WL[1]);
  new(WL[1]^[1]);
  dispose(WL[1]^[1]);
  dispose(WL[1]);
end.
they claim to use delphi 2.0
Послано tjq(killer of zju) 14 окт 2000 13:11
that's a 32bit compiler, you can use big array, needn't
allocate dynamic memory, but I don't know why your program
got restricted function,
Re: Problem with the system... **PLEASE READ**
Послано Pavel Atnashev 14 окт 2000 14:12
We are using Delphi 2.0 Win32 Compiler.

I made some changes to testing engine, so try again.