API Response (JSON)
{
"problem": {
"name": "A1. 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": "CF10070A1"
},
"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}^+ $. \nA pair $ (p, q) $ is *Rasta-lover* if $ 1 \\leq p, q < n $ and $ \\exists x \\in \\mathbb{Z}^+ $ such that $ p^x \\equiv q \\pmod{n} $. \nA number $ p \\in \\ma...",
"is_translate": false,
"language": "Formal"
}
]
}