MIST NCPC 2020
Ended [ Practice Open ] Standings
The contest has ended and practice submission is open for all users
Code Execution Environmentupdated 18 days ago
CodeMarshal algorithm contest hosting platform uses a sandboxed code execution environment for each individual submissions. Details of the compilers and runtimes used in the environment is provided below:
Compilers & Language Runtimes
CodeMarshal sandbox uses the following software configuration for compiling and executing source code submissions:
- gcc 9.3
- g++ 9.3
- OpenJDK 8
- CPython 2.7
- CPython 3.8
Compilation of Submissions
Source files submitted to the system will be compiled using the following command line arguments for the respective language:
gcc -O2 -static program.c -lm
g++ -O2 -static -std=c++11 program.cpp
javac -encoding UTF-8 -J-Xmx2048m Program.java
Execution of Submissions
For each language, if the above compilation step is successful then the submission will be executed as follows:
- the executable file generated by the compiler will be executed to generate the output of the submission.
- the main source file will be executed by the CPython interpreter to generate the output of the submission.
- the compiled main class will be executed using the following jvm parameters:
java -XX:+UseSerialGC -Xss64m -Xms64m -Xmx2048m Program
The submission runtime system sandbox runs on Arch Linux 64bit server.