API Response (JSON)
{
"problem": {
"name": "J. Smallest Difference",
"description": {
"content": "You are given an array a consists of n elements, find the maximum number of elements you can select from the array such that the absolute difference between any two of the chosen elements is ≤ 1. Th",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF10185J"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given an array a consists of n elements, find the maximum number of elements you can select from the array such that the absolute difference between any two of the chosen elements is ≤ 1.\n\nTh...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z} $ be the number of cadets. \nLet $ S = (s_1, s_2, \\dots, s_n) $ be the sequence of scores, where $ s_i $ is the score of the $ i $-th cadet (in finishing order...",
"is_translate": false,
"language": "Formal"
}
]
}