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

1252 - Memory Limit
Posted by Nazarov Denis (nsc2001@rambler.ru) 8 Apr 2004 21:30
I use such vars:
Const MaxN = 130000;
Var  ATW : Array[1..MaxN] of Word;
     ATB : Array[1..MaxN] of Byte;
     AW : Array[1..MaxN] of Word;
     AB : Array[1..MaxN] of Byte;
     N, i, j, Ans, Ans2 : Longint;

and get Memory Limit!!! Why?
It's only 780KB!!

Edited by author 08.04.2004 21:31
Re: 1252 - Memory Limit
Posted by A new start... 9 Apr 2004 16:33
Any program on Pascal uses not less than 373Kb. For C and C++ this value is 193Kb. It's not fair!