API Response (JSON)
{
"problem": {
"name": "[ICPC 2022 Jinan R] Quick Sort",
"description": {
"content": "When Prof. Pang was young, he wrote the following code for quick sort. Please calculate how many swaps are performed when calling $\\text{quicksort}(A, 1, n)$. $A$ is a given permutation with length $n",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 5000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P5"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP9673"
},
"statements": [
{
"statement_type": "Markdown",
"content": "When Prof. Pang was young, he wrote the following code for quick sort. Please calculate how many swaps are performed when calling $\\text{quicksort}(A, 1, n)$. $A$ is a given permutation with length $n...",
"is_translate": false,
"language": "English"
}
]
}