Problem Statement Template

From Problem Archive
Revision as of 07:32, 19 April 2012 by Niemela (talk | contribs) (Import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Overview

Problem statements are written in LaTeX, containing only the actual problem statement, no sample data (the .tex file is included in a template that adds these). A typical problem.tex looks as follows:

\problemname{Problem Name}

<Problem statement here>

\section*{Input}

<Input description here>

\section*{Output}

<Output description here>


Additional options

In case the problem name consists of special LaTeX code (for instance, math, or escaped characters), a "plain" version of the problem name must be specified by a comment of the form

%% plainproblemname: Problem Name

in the beginning of the file.