API Response (JSON)
{
"problem": {
"name": "G. Math, math everywhere",
"description": {
"content": "_If you have gone that far, you'll probably skip unnecessary legends anyway..._ You are given a binary string and an integer . Find the number of integers _k_, 0 ≤ _k_ < _N_, such that for all _i_ = ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 5000,
"memory_limit": 524288
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF765G"
},
"statements": [
{
"statement_type": "Markdown",
"content": "_If you have gone that far, you'll probably skip unnecessary legends anyway..._\n\nYou are given a binary string and an integer . Find the number of integers _k_, 0 ≤ _k_ < _N_, such that for all _i_ = ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "_如果你已经走到这一步,你大概会直接跳过无用的背景故事……_\n\n给你一个二进制字符串 $s$ 和一个整数 $N$。求满足 $0 \\leq k < N$ 的整数 $k$ 的个数,使得对所有 $i = 0, 1, \\dots, m - 1$,都有\n\n输入的第一行是一个由 $0$ 和 $1$ 组成的字符串 $s$($1 \\leq |s| \\leq 40$)。\n\n第二行是一个整数 $n$($1 \\leq ...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "Given a binary string $ s $ of length $ m $ ($ 1 \\leq m \\leq 40 $) and an integer $ n $ ($ 1 \\leq n \\leq 5 \\cdot 10^5 $), along with $ n $ distinct prime pairs $ (p_i, \\alpha_i) $ where $ 1 \\leq p_i, ...",
"is_translate": false,
"language": "Formal"
}
]
}