API Response (JSON)
{
"problem": {
"name": "C. Sad powers",
"description": {
"content": "You're given _Q_ queries of the form (_L_, _R_). For each query you have to find the number of such _x_ that _L_ ≤ _x_ ≤ _R_ and there exist integer numbers _a_ > 0, _p_ > 1 such that _x_ = _a__p_.",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF955C"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You're given _Q_ queries of the form (_L_, _R_).\n\nFor each query you have to find the number of such _x_ that _L_ ≤ _x_ ≤ _R_ and there exist integer numbers _a_ > 0, _p_ > 1 such that _x_ = _a__p_.\n\n...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "[{\"iden\":\"statement\",\"content\":\"给定 #cf_span[Q] 个形如 #cf_span[(L, R)] 的查询。\\n\\n对于每个查询,你需要找出满足 #cf_span[L ≤ x ≤ R] 且存在整数 #cf_span[a > 0] 和 #cf_span[p > 1] 使得 #cf_span[x = ap] 的 #cf_span[x] 的个数。\\n\\n第一行包含查询...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ Q \\in \\mathbb{Z} $ be the number of queries. \nFor each query $ i \\in \\{1, \\dots, Q\\} $, let $ (L_i, R_i) \\in \\mathbb{Z}^2 $ denote the interval bounds.\n\nLet $ \\mathcal{P} = \\{...",
"is_translate": false,
"language": "Formal"
}
]
}