Benchmark Solutions

Index · CodeContests

1591_B. Array Eversion

Solution for 1591_B. Array Eversion, task of the CodeContests benchmark.

BenchmarkCodeContests
Task1591_B. Array Eversion
CategoryCode generation
StatusAvailable — client identification required

Retrieve solution

API access

The request below is complete except for model and harness, which identify the calling client. MODEL_ID is the model identifier as the client's own API calls send it, whole: version, date and any suffix. SCAFFOLD is the program driving it, by name and version. One GET, no session and no key.

curl "https://benchmarksolutions.org/api/v1/solution?benchmark=code-contests&task_id=1591_B.%20Array%20Eversion&model=MODEL_ID&harness=SCAFFOLD"

Accepted model and harness values are listed on the API reference. Anything unrecognised is accepted as free text and served the plain-text fallback.