v1/sandboxs.proto (version not set)
Download OpenAPI specification:Download
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
- Payload
Content type
application/json
{- "source": "string",
- "stdin": [
- "string"
], - "language": 0,
- "languageId": 0,
- "memoryLimit": "string",
- "timeLimit": "string"
}
Response samples
- 200
- default
Content type
application/json
{- "results": [
- {
- "stdout": "string",
- "stderr": "string",
- "time": "string",
- "memory": "string",
- "exitCode": 0,
- "errMsg": "string"
}
], - "compileMsg": "string"
}