vnoi_submit
Submits code to VNOI for a specified problem and language, then waits for judging and returns per-test verdicts with status, time, and memory.
Instructions
Nộp code lên VNOI, đợi chấm xong rồi trả về kết quả từng test (batch, trạng thái AC/WA/TLE/..., thời gian, bộ nhớ). problem_code: mã bài, ví dụ "vnoicup25_r1_a". code: mã nguồn. language: mã ngôn ngữ — 4 = C++17 (mặc định), 14 = C++20, 23 = C++23, 9 = Python 3, 17 = PyPy 3.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"problem_code": "<problem_code>",
"code": "<code>"
},
"name": "vnoi_submit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| language | No | 4 | |
| problem_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |