review_solution
Review competitive programming code for correctness, time complexity, bugs, and TLE risk. Accepts problem description and code in multiple languages.
Instructions
Review user code for correctness, time complexity, bugs, TLE risk, etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code to review. | |
| problem | Yes | The full text of the problem description. | |
| language | No | Language of the code (python, cpp, java, rust, etc.). | python |
| error_message | No | Optional compiler/runtime error message from the judge. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||