跳到主要内容

v1/sandboxs.proto (version not set)

Download OpenAPI specification:Download

SandboxsService

SandboxsService_Run

Request Body schema: application/json
source
string (源码)
stdin
Array of strings (输入)
language
integer <int32> (语言)
languageId
integer <int32> (针对 函数题,需要查询对应的输入输出主体函数)
memoryLimit
string <int64>
timeLimit
string <int64>

Responses

Request samples

Content type
application/json
{
  • "source": "string",
  • "stdin": [
    ],
  • "language": 0,
  • "languageId": 0,
  • "memoryLimit": "string",
  • "timeLimit": "string"
}

Response samples

Content type
application/json
{
  • "results": [
    ],
  • "compileMsg": "string"
}