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 Details

    • id

      public int id
    • name

      public String name
      Localized.
    • type

      public ContestType type
      CF, IOI, ICPC. Scoring system used for the contest.
    • phase

      public ContestPhase phase
      CF, IOI, ICPC. Scoring system used for the contest.
    • frozen

      public boolean frozen
      If true, then the ranklist for the contest is frozen and shows only submissions, created before freeze.
    • durationSeconds

      public long durationSeconds
      Duration of the contest in seconds.
    • startTimeSeconds

      public long startTimeSeconds
      Can be absent. Contest start time in unix format.
    • relativeTimeSeconds

      public long relativeTimeSeconds
      Can be absent. Number of seconds, passed after the start of the contest. Can be negative.
    • preparedBy

      public String preparedBy
      Can be absent. Handle of the user, how created the contest.
    • websiteUrl

      public URI websiteUrl
      Can be absent. URL for contest-related website.
    • description

      public String description
      Localized. Can be absent.
    • difficulty

      public int difficulty
      Can be absent. From 1 to 5. Larger number means more difficult problems.
    • kind

      public String 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

      public String icpcRegion
      Localized. Can be absent. Name of the Region for official ICPC contests.
    • country

      public String country
      Localized. Can be absent.
    • city

      public String city
      Localized. Can be absent.
    • season

      public String season
      Can be absent.
  • Constructor Details