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

I got MLE#10. WHY?
Posted by {AESC USU} Evgeny Kurpilyanskij 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;
See FAQ (-)
Posted by Dmitry 'Diman_YES' Kovalioff 1 Feb 2007 21:24
Re: See FAQ (-)
Posted by KIRILL(ArcSTU) 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

Re: See FAQ (-)
Posted by C-- AESC USU {Kurpilyanskij Gein} 1 Feb 2007 21:54
Now I got AC!!!
C++ rules!!!
Re: See FAQ (-)
Posted by Todor Tsonkov 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