Open
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.