What constraints and resource limits apply to the code that candidates submit?
For C, the dialect of the language supported is ANSI C or ISO/IEC 9899:1990. The compiler is run under the following limits: 5 seconds wallclock time, 256 MB virtual memory and 10 MB output file size. The executable for your code is run under the following limits: 5 seconds wallclock time and 256 MB virtual memory. For C++, the dialect of the language supported is the 1998 ISO C++ standard with amendments. The compiler and the executable for your code is run under the same shell limits as for C (see above). Your program may write to standard output for testing and debugging. This output (truncated to 4kb) will be available to you within the test. Submitted code longer than 64kb will be truncated to 64kb before being compiled.