Generate a problem
repovive_generate_problemGenerate a complete programming problem with statement, constraints, samples, hidden tests, validator, editorial, and reference solution. Deterministic seed ensures reproducibility.
Instructions
Generate a complete, self-consistent problem from a built-in generator: statement, constraints, samples with explanations, deterministic hidden tests, an input validator, an editorial and a reference solution. Test outputs are produced by running the reference solution on this host. Same seed gives the same problem.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Generator kind (see repovive_list_problem_templates) | |
| seed | No | Deterministic seed for hidden tests | |
| num_hidden | No | Number of hidden tests to generate |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |