---
title: "提交评测任务 (submission:create)"
method: POST
path: "/problem/{problem}/submit"
tags: ["problem", "submission"]
---

# 提交评测任务 (submission:create)

`POST /problem/{problem}/submit`

## Path parameters

- `problem` integer, required

## Response `201`

提交成功

- object
  - `id` integer — 提交编号

## Changes

- **2024-08-14** `aa6951cc6ba1` — 1 breaking, 1 warning
  - added the new required request property `language`
  - removed the request property `lang`
- **2024-08-14** `31431aaf46d3` — 1 info
  - api tag `problem` added
- **2024-08-12** `abf18f0fc1b3` — 2 breaking, 2 warning, 4 info
  - added the new required request property `lang`
  - request property `public` was restricted to a list of enum values
  - the optional response header `Location` removed for the status `201`
  - removed the request property `language`
  - …4 more

[Change history](https://skmtc.dev/acmclassoj/apis/acmoj-api-v1/changes/problem/:problem/submit/post.md)

---

[API](https://skmtc.dev/acmclassoj/apis/acmoj-api-v1.md) · [All operations](https://skmtc.dev/acmclassoj/apis/acmoj-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/acmclassoj/acmoj-api-v1/revisions/3255fcbd64fb/schema)
