Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Memory and output limits are not available through the API #2974

Open
Assignees
@ningit

Description

Description of the enhancement request

Unlike the time limit, the memory and output limits of a problem cannot be obtained using the API. All of them are available via the web interface.

The methods of the API that return the time limit could also return the memory and output limits.

The goal you want to achieve

Obtaining the memory and output limits through the API.

Expected behaviour

The method api/v4/contests/{cid}/problems/{id} should return

{
 "id": "string",
 "time_limit": 1,
 "memory_limit": 1,
 "output_limit": 1,
 "etc.": "...",
}

instead of only time_limit. This also applies to api/v4/contests/{cid}/problems, the problems events of the event feed, etc.

Alternatively, these values could be made available using other specific methods.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /