API Response (JSON)
{
"problem": {
"name": "A4. Rasta-lover Pair",
"description": {
"content": "A pair (p, q) of integer numbers is called Rasta - lover if and only if 1 ≤ p, q < n and there is a positive integer like x such that: px ≡ q (modn) Subtasks 1 - 3: Given n, calculate the number o",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 15000,
"memory_limit": 1048576
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF10070A4"
},
"statements": [
{
"statement_type": "Markdown",
"content": "A pair (p, q) of integer numbers is called Rasta - lover if and only if 1 ≤ p, q < n and there is a positive integer like x such that:\n\npx ≡ q (modn)\n\nSubtasks 1 - 3: \n\nGiven n, calculate the number o...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z}^+ $. \n\nA pair $ (p, q) $ is **Rasta-lover** if: \n- $ 1 \\leq p, q < n $, \n- $ \\exists x \\in \\mathbb{Z}^+ $ such that $ p^x \\equiv q \\pmod{n} $. \n\nA number $...",
"is_translate": false,
"language": "Formal"
}
]
}