Challenge Overview
Project Overview
TopCoder Competition Engine is a system used for Single Round Matches (SRM) and Marathon Matches (MM). We are seeking solutions to get the memory usage when executing MM solutions, so competitors can get a better understanding of their submission.
Previously, we have implemented the way to return peak memory usage for executing SRM solution, you can see this commit, and learn from the implementation.
Competition Task Overview
For this contest, we'd like to implement the similar logic for returning peak memory usage for Marathon Match contests.
Following are the general requirements:
- The solution should not affect the execution thread, like it causes the execution to cost more times.
- The solution should cover the exeuction of Java language.
- It should return the peak (maximum) memory used by the execution.
- The size of used memory should be in MB format, if the memory is not monitored like value (-1), use N/A for this case.
- The changes should applied to example tests, the memory info should be displayed in example test results.
- In MPSQAS client, the memory related information should also be displayed.
- You should provide sample solutions to cover the valid and invalid cases in your submission, previously winning submissions will be avaiable in forum for reference.
- Your submission should be based on winning submission of Module Assembly - Return Peak Memory Usage for Marathon Martch - Cpp (attached in forum)
About Code Base
For the code under /home/apps/dev directory, some are hosted in internal svn repositories, some are hosted in private repositories in github.
You can check Source Code Management For TopCoder Competition Engine - TopCoder Wiki
For SVN Access, please send request to support@topcoder.com, For github access, please post your github account in forum to ask PM to grant you access.
Arena VM
Before asking your own VM, you need to have a public key on your profile before asking for the VM.
You can find more details on how to generate a key http://apps.topcoder.com/wiki/display/projects/Generate+SSH+Key and how to connect using it http://apps.topcoder.com/wiki/display/projects/Connect+Using+SSH+Key.
To use the Arena VM, please follow http://apps.topcoder.com/wiki/display/docs/Competition+Engine+VM+Setup
Previously, we have made several update for the Arena VM. So when the Arena VM allocated is available for you, there is a problem and a MM contest already setup, you can reuse that for testing.Final Submission Guidelines
Submission Deliverables
Below is an overview of the deliverables:
- Code Changes for getting and displaying the used memory
- Detail Deployment Guide describing your solution.
Final Submission
For each member, the final submission should be uploaded to the Online Review Tool.