Enumerations

The Codeforces API has several enumerations for describing internal states, which are implemented at the cforces.enums module for making coding easier.

The following enumerations are built-in:

List of enumerations

Name

Description

ContestPhase

The phase in which the contest is. (Used at phase attribute of Contest class)

ContestType

The type of the contest. (Used at type attribute of Contest class)

ParticipantType

The type of participant in the contest (Used at participant_type attribute of Party class)

ProblemResultType

Describes the type of result a party can get from a problem. (Used at results attribute of RanklistRow class)

ProblemType

Undocumented (TODO)

Rank

A non-API enumeration that describes available ranks.

TestSet

Undocumented (TODO)

Verdict

Undocumented (TODO)