Challenge Overview
Project Overview
TopCoder Competition Engine is a system used for Single Round Matches (SRM) and Marathon Matches (MM).
Competition Task Overview
For this contest, We'd like to implment way to configure the stack size for each problem when executing MM solutions, this includes support of the five major languages (Java, C++, Python, C# and VB.NET).
Previously, we have implemented the functionality for SRM problems - Module Assembly - TopCoder Competition Engine - Stack Size Configuration For SRM Problems.
You are expected to follow the same approach, please base on the previous winning submission.
Following are the general requirements:
- In Mpsqas client, add a similar input for configuring stack size.
- In the execution of each solution, the stack size configuration will be passed.
- Java Stack Size (JVM Option -Xss) - http://crunchify.com/jvm-tuning-heapsize-stacksize-garbage-collection-fundamental/
- Python Stack Size - http://stackoverflow.com/questions/5061582/setting-stacksize-in-a-python-script
- C++ Stack Size - http://stackoverflow.com/questions/2275550/change-stack-size-for-a-c-application-in-linux-during-compilation-with-gnu-com (this may be done in the sandox2 code)
- C# and VB.NET stack size - http://msdn.microsoft.com/en-us/library/tdkhxaks.asp
- 64bit CentOS VM will be assigned to each member with root access, please verify that the logic is working properly.
- Windows VM will be assigned to each member.
- You should provide sample solutions to cover the valid and invalid cases in your submission
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 for access grant.
Winner Responsibility
Winner will be responsible to merge and create pull request in final fix phase.
Arena VM Usage
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.
Please reference http://apps.topcoder.com/wiki/display/docs/Competition+Engine+VM+Setup for general usage.
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 SRM/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.