What's the memory equivalent of the "one-minute rule"?
Is this taken into account when designing a problem ? (like Problem 161 (View Problem))
Memory equivalent of the 1-minute rule ?
- stijn263
- Posts: 1505
- Joined: Sat Sep 15, 2007 11:57 pm
- Location: Netherlands
- hk
- Administrator
- Posts: 12832
- Joined: Sun Mar 26, 2006 10:34 am
- Location: Haren, Netherlands
Re: Memory equivalent of the 1-minute rule ?
Problem 161 is not the most memory intensive as far as I know.
There isn't a memory equivalent of the 1 minute rule.
We pay attention to the memory requirements of our optimal solution. (maximally about 200-250 MB).
Memory gobbling other solutions we do not take into account. That's part of the game.
I could solve all problems up till now with less than 250MB. (Actually that is the amount that I can use without trouble).
There isn't a memory equivalent of the 1 minute rule.
We pay attention to the memory requirements of our optimal solution. (maximally about 200-250 MB).
Memory gobbling other solutions we do not take into account. That's part of the game.
I could solve all problems up till now with less than 250MB. (Actually that is the amount that I can use without trouble).

War ruins the life and health of untold numbers of innocent children.
-
LarryC
Re: Memory equivalent of the 1-minute rule ?
What language is that that requires at most 250MB of memory? I know many languages (such as Java and Python) can consume far more memory for the same data stored than others - what maximum bound can be expect for these languages?
- hk
- Administrator
- Posts: 12832
- Joined: Sun Mar 26, 2006 10:34 am
- Location: Haren, Netherlands
Re: Memory equivalent of the 1-minute rule ?
That does not depend on the language but on the amount of memory your computer has. Mine does not have so much memory....However one gets very creative in such circumstances.

War ruins the life and health of untold numbers of innocent children.
-
quilan
- Posts: 182
- Joined: Fri Aug 03, 2007 11:08 pm
Re: Memory equivalent of the 1-minute rule ?
Some ones I had issues with memory on:
Problem 155 (View Problem) - Reaaaallly pressed against the limit here, although if I were to re-do it, I'd somehow use sets instead of dictionaries.
Problem 211 (View Problem) - If I were to attempt it in Python, I'd have to do some creative partitioning of my algorithm to keep it in workable memory size (or invest in some other python package that works well with arrays).
Problem 216 (View Problem) - Same as above.
Actually, there were a few problems of array size > ~N0,000,000 that I had issues with in Python. Some day I'll get around to downloading a module for efficient array manipulations. Although on Windows 32-bit, I think applications are limited to ~2 GB of RAM? Or am I remembering that incorrectly?
Problem 155 (View Problem) - Reaaaallly pressed against the limit here, although if I were to re-do it, I'd somehow use sets instead of dictionaries.
Problem 211 (View Problem) - If I were to attempt it in Python, I'd have to do some creative partitioning of my algorithm to keep it in workable memory size (or invest in some other python package that works well with arrays).
Problem 216 (View Problem) - Same as above.
Actually, there were a few problems of array size > ~N0,000,000 that I had issues with in Python. Some day I'll get around to downloading a module for efficient array manipulations. Although on Windows 32-bit, I think applications are limited to ~2 GB of RAM? Or am I remembering that incorrectly?
ex ~100%'er... until the gf came along.

