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

Common Board

Problem with the system... **PLEASE READ**
Posted by Smasher_nine 14 Oct 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
Posted by tjq(killer of zju) 14 Oct 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**
Posted by Pavel Atnashev 14 Oct 2000 14:12
We are using Delphi 2.0 Win32 Compiler.

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