Contest Documentation and Help
You are not allowed to use the Internet
except as specifically listed here during the contest.
Editors
Available editors include the contest software, vi, gedit, idle, and emacs.
There are are tutorials available for
emacs and
vi.
These tutorials were copied from other ACM contest websites
and we do not guarantee their accuracy. We will try to answer emacs
questions as best we can. You are welcome to use the editor of your choice as long as it
is available on our system.
Compiling and running languages
- C
- C++ 11
- Java
- Ruby
- Python 3.5
- Matlab
- You are welcome to use any other languages supported by the contest software but we are not providing help links for them at this time.
C++ will include iostream support and you may also use gets() and the scanf()/printf()
family of functions. The C++ string library and Standard Template Library
(STL) will be available.
A list of some C and C++ headers is available. You will
need to include them as you use them.
Input and Output
Notes on input and output:
- Do not read or write from files.
- All programs read from standard input and write to standard output.
- Integer inputs and outputs do not always fit (comfortably) in 32-bit
signed representation.
- When sizes are specified you may expect input of the
maximum size.
- Floating point computations will be stable.
- Standard rounding rules should be used for floating
point output (0.5 rounds to 1) unless we specify rounding down.
- There will be several hundred test cases; not thousands.
- There will be no unnecessary spaces or empty lines in the input.
- Output should contain no unnecessary spaces or lines.
- The last line of output should be terminated (that is, should
end in a newline character).