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 StringcityLocalized.StringcountryLocalized.StringdescriptionLocalized.intdifficultyCan be absent.longdurationSecondsDuration of the contest in seconds.booleanfrozenIf true, then the ranklist for the contest is frozen and shows only submissions, created before freeze.StringicpcRegionLocalized.intidStringkindLocalized.StringnameLocalized.ContestPhasephaseCF, IOI, ICPC.StringpreparedByCan be absent.longrelativeTimeSecondsCan be absent.StringseasonCan be absent.longstartTimeSecondsCan be absent.ContestTypetypeCF, IOI, ICPC.URIwebsiteUrlCan 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()
-