FAQ Programming Tests

Environment for the programming languages

Language Version
C++ gcc-4.8.1
C# mono-2.8
Java sun-jdk-1.7.0_25
Objective-C gcc-4.5.1
Perl perl 5.16.2
Python python-3.2.3
PHP php 5.4.4
Ruby ruby-1.9.3
VB.NET mono-2.4.2.3

Memory and time constraints

Each code must respect the following conditions:
  • compilation time: max 10 seconds
  • execution time: max 15 seconds
  • memory usage: max 256 MB

STDIN and STDOUT

You can read input from STDIN (Standard Input) and write output to STDOUT (Standard Output). Different languages have different methods of accessing STDIN and STDOUT.