problem
submission

提交评测任务 (submission:create)

post/problem/{problem}/submit

Path parameters

probleminteger required
Example:1000

题目编号

Response

提交成功

idinteger

提交编号

Changes

Changed in 4 of the 11 revisions of this API.635

    • removed the enum value false of the request property public

      request-property-enum-value-removed

    • removed the enum value true of the request property public

      request-property-enum-value-removed

    • the public request property type/format changed from string/ to boolean/

      request-property-type-changed

  • aa6951cc6ba111See the full diff
    • added the new required request property language

      new-required-request-property

    • removed the request property lang

      request-property-removed

    • api tag problem added

      api-tag-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • abf18f0fc1b3224See the full diff
    • added the new required request property lang

      new-required-request-property

    • request property public was restricted to a list of enum values

      request-property-became-enum

    • the optional response header Location removed for the status 201

      optional-response-header-removed

    • removed the request property language

      request-property-removed

    • api tag problem removed

      api-tag-removed

    • added the new false enum value to the request property public

      request-property-enum-value-added

    • added the new true enum value to the request property public

      request-property-enum-value-added

    • the public request property type/format was generalized from boolean/ to string/

      request-property-type-generalized

    This revision also has 17 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog