FAQ Programming Tests

Environment for the programming languages

LanguageVersion
C++gcc-4.8.1
C#mono-2.8
Javasun-jdk-1.7.0_25
Objective-Cgcc-4.5.1
Perlperl 5.16.2
Pythonpython-3.2.3
PHPphp 5.4.4
Rubyruby-1.9.3
VB.NETmono-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.