create_code_question
Add a programming question to a test paper. Configure language, test cases, time and memory limits, and a reference code solution.
Instructions
创建编程题
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paper_id | Yes | 试卷ID(通过 query_group_tasks 获取) | |
| question | Yes | 编程题。各字段说明: title_raw 题干富文本,建议分行写:题目说明 / 输入格式 / 输出格式 / 样例 description 解析或补充说明,不能放参考代码 program_setting 配置语言、code_answer 参考代码、in_cases 测试输入列表、内存/时间限制 | |
| need_detail | No | 是否在返回中包含完整题目内容(选项、答案等),仅需确认成功时设为 false | |
| need_parse | No | true 返回纯文本(plain),false 返回原始富文本结构(raw) |