Benchmark Solutions

Index · CodeContests

1607_D. Blue-Red Permutation

Solution for 1607_D. Blue-Red Permutation, task of the CodeContests benchmark.

BenchmarkCodeContests
Task1607_D. Blue-Red Permutation
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=1607_D.%20Blue-Red%20Permutation&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.