generate_solution
Generates an optimal solution for a competitive programming problem in the specified programming language, with optional extra constraints or hints.
Instructions
Generate an optimal solution for the problem in the requested language.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Optional extra constraints, details, or hints. | |
| problem | Yes | The full text of the problem description. | |
| language | No | Programming language (python, cpp, java, rust, etc.). | python |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||