Memory Optimization

In long contests, if two users submit solution to the same problem in same programming language. Their solution takes the same time to give the answer, but uses different amount of memory.

Does CodeChef judge give preference to the amount of memory used?

Will the one whose program uses lower memory get more points than other user?

No, Codechef does not give preference to the amount of memory used.Both accepted solutions with different amount of memory usage have equal preference.

Thanks, I also felt that it shouldn’t.

But let’s see what @admin has to say. @admin it would be of great help if you could clear my doubt.