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

Общий форум

Memory allocation problems...
Послано Nix! 21 ноя 2000 19:08
I am trying to solve superlong sums.Can you tell me why
does the following code work when the body of the program
is empty, but not when I use the 2 500k arrays with my
program.
I get memory limit exceded. Why I try to use only one meg
and why does that happen only when there is actual program
(it happens at 0.7 secs).I want to know because I don't
have any kind of dynamic allocation.Also why empty pascal
programs start at 200k does that mean that the limit for
pascal solutions is only 800k?

type
  Tarr = array [0..500000 - 1] of byte;

var
  A, B : Tarr;

begin

end.
Re: Memory allocation problems...
Послано Alex Kharkov (Vinnica) 23 ноя 2000 02:13
Use C++.