Class Contest
java.lang.Object
com.github.rami_sabbagh.codeforces.api.objects.CFObject
com.github.rami_sabbagh.codeforces.api.objects.Contest
public class Contest extends CFObject
Represents a contest on Codeforces.
-
Field Summary
Fields Modifier and Type Field Description String
city
Localized.String
country
Localized.String
description
Localized.int
difficulty
Can be absent.long
durationSeconds
Duration of the contest in seconds.boolean
frozen
If true, then the ranklist for the contest is frozen and shows only submissions, created before freeze.String
icpcRegion
Localized.int
id
String
kind
Localized.String
name
Localized.ContestPhase
phase
CF, IOI, ICPC.String
preparedBy
Can be absent.long
relativeTimeSeconds
Can be absent.String
season
Can be absent.long
startTimeSeconds
Can be absent.ContestType
type
CF, IOI, ICPC.URI
websiteUrl
Can be absent. -
Constructor Summary
Constructors Constructor Description Contest()
-
Method Summary
Methods inherited from class com.github.rami_sabbagh.codeforces.api.objects.CFObject
toString, toStringPretty
-
Field Details
-
id
public int id -
name
Localized. -
type
CF, IOI, ICPC. Scoring system used for the contest. -
phase
CF, IOI, ICPC. Scoring system used for the contest. -
frozen
public boolean frozenIf true, then the ranklist for the contest is frozen and shows only submissions, created before freeze. -
durationSeconds
public long durationSecondsDuration of the contest in seconds. -
startTimeSeconds
public long startTimeSecondsCan be absent. Contest start time in unix format. -
relativeTimeSeconds
public long relativeTimeSecondsCan be absent. Number of seconds, passed after the start of the contest. Can be negative. -
preparedBy
Can be absent. Handle of the user, how created the contest. -
websiteUrl
Can be absent. URL for contest-related website. -
description
Localized. Can be absent. -
difficulty
public int difficultyCan be absent. From 1 to 5. Larger number means more difficult problems. -
kind
Localized. Can be absent. Human-readable type of the contest from the following categories: Official ICPC Contest, Official School Contest, Opencup Contest, School/University/City/Region Championship, Training Camp Contest, Official International Personal Contest, Training Contest. -
icpcRegion
Localized. Can be absent. Name of the Region for official ICPC contests. -
country
Localized. Can be absent. -
city
Localized. Can be absent. -
season
Can be absent.
-
-
Constructor Details
-
Contest
public Contest()
-