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

Discussion of Problem 1220. Stacks

{AESC USU} Evgeny Kurpilyanskij I got MLE#10. WHY? [4] // Problem 1220. Stacks 1 Feb 2007 21:18
I use(near 600 000 bait) but I have 776KB:

var a:array[1..100000]of longint;
    b:array[1..100000]of word;
    last1:array[1..1000]of word;
    last2:array[1..1000]of byte;
    x,y,n,i,k,last:longint;
    c:char;
Dmitry 'Diman_YES' Kovalioff See FAQ (-) [3] // Problem 1220. Stacks 1 Feb 2007 21:24
KIRILL(ArcSTU) Re: See FAQ (-) [2] // Problem 1220. Stacks 1 Feb 2007 21:37
I used also 600KB arrays
It is stranges with memory detection
2 months ago for simple program(like a+b) 100Kb was needed, but know about 200Kb
I submit my AC program (692 Kb) and got ML know
http://acm.timus.ru/status.aspx?space=1&num=1220&author=46301

If Admins make rejudge then about half AC programs will get ML

C-- AESC USU {Kurpilyanskij Gein} Re: See FAQ (-) [1] // Problem 1220. Stacks 1 Feb 2007 21:54
Now I got AC!!!
C++ rules!!!
Todor Tsonkov Re: See FAQ (-) // Problem 1220. Stacks 15 Feb 2007 02:36
can someone send an accepted solution preferably in C++/C to my email tabledott@gmail.com. I tried this problem so many times I'm tired of it