API Response (JSON)
{
"problem": {
"name": "[科大国创杯小学组 2023] 阶",
"description": {
"content": "给定一个质数 $ p $,定义一个数 $ x (1 \\leq x < p) $ 模 $ p $ 的阶为:最小的正整数 $ t $ 使得 $ x^t $ 模 $ p $ 等于 $1$(即 $ x^t $ 除以 $ p $ 的余数为 $1$),可以证明:这样的正整数一定存在。 现在请你帮助小多算若干组阶。",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P2"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGB4256"
},
"statements": [
{
"statement_type": "Markdown",
"content": "给定一个质数 $ p $,定义一个数 $ x (1 \\leq x < p) $ 模 $ p $ 的阶为:最小的正整数 $ t $ 使得 $ x^t $ 模 $ p $ 等于 $1$(即 $ x^t $ 除以 $ p $ 的余数为 $1$),可以证明:这样的正整数一定存在。\n\n现在请你帮助小多算若干组阶。\n\n## Input\n\n第一行一个正整数 $ T $,代表接下来共有 $ T $ 个问题。\n\n接...",
"is_translate": false,
"language": "English"
}
]
}