API Response (JSON)
{
"problem": {
"name": "ModularPowerEquation!!",
"description": {
"content": "Process the $Q$ queries below. * You are given two integers $A_i$ and $M_i$. Determine whether there exists a positive integer $K_i$ not exceeding $2 × 10^{18}$ such that $A_i^{K_i} ≡ K_i$ $(mod$ $",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "tenka1_2017_f"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Process the $Q$ queries below.\n\n* You are given two integers $A_i$ and $M_i$. Determine whether there exists a positive integer $K_i$ not exceeding $2 × 10^{18}$ such that $A_i^{K_i} ≡ K_i$ $(mod$ $...",
"is_translate": false,
"language": "English"
}
]
}