{
"lang": "c",
"code": "string",
"time": 0,
"memory": 0,
"outMsgLimit": 0,
"case": [
{
"caseId": 0,
"in": "string",
"out": "string"
}
]
}
curl --location --request POST 'http://test-cn.your-api-server.com/v1/code/judge' \
--header 'Content-Type: application/json' \
--data-raw '{
"lang": "c",
"code": "string",
"time": 0,
"memory": 0,
"outMsgLimit": 0,
"case": [
{
"caseId": 0,
"in": "string",
"out": "string"
}
]
}'
{
"state": "CE",
"maxTimeUsage": 0,
"maxMemoryUsage": 0,
"outPut": "string",
"codeResults": [
{
"caseId": 0,
"cpuTimeUsage": 0,
"realTimeUsage": 0,
"memoryUsage": 0,
"state": "CE"
}
]
}