On all the problems on CodeChef (or at least most) there’s a memory constraint of 50,000 bytes for the source.
What does this exactly mean? I assumed it meant the amount of memory that the program takes up, but I just recently solved a problem with a 1,000,000 int in Java. This array should have taken 4N + 24 bytes of space where N is the number of elements. However, that would mean that the array took 4,000,024 bytes which is well over the 50,000 byte limit. But, it worked.
So what does the term “source limit” exactly mean?