ImportScore

ImportScore loads the score of a ghost participant: a result taken from another system so that a contestant who is not a member of the space still shows up in the ranking. Snapshots are timed relative to the participant's start, so an imported result can carry a whole progression and not only a final score.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
string
required
string
required
Body Params
scores
array of objects

Scores is an array of score snapshots at different time relative to the starting time.

Each entry defines a complete snapshot (they do not accumulate automatically). These fields can be populated:

  • offset - defines when snapshot was taken, it's an amount of time in seconds since participant started contest
  • score - total score at the moment in time (suppose to be sum of scores in breakdown field, but not enforced)
  • penalty - total penalty at the moment in time (suppose to be sum of penalty in breakdown field, but not enforced)
  • breakdown - score breakdown by problem, nested fields are as follows:
    • problem_id - self explanatory
    • score - score as defined by contest format (for IOI: from 0 to 100, for ICPC 0 or 1)
    • penalty - penalty as defined by contest format (for ICPC: solved_in/60 + attempts*20)
    • percentage - percentage of scored points from 0 to 1 (1 means 100% or fully solved), this value does not depend on contest format
    • attempts - number of attempts to solve problem before successful attempt
    • solved_in - time in second to solve problem, since participant started contest, leave as 0 if not solved

The rest of the fields are automatically calculated and ignored during import.

scores
Response

Language
Credentials
OAuth2
Missing 1 required scope
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json