摘要:
链接 Description 求满足以下条件的正整数 \(x\) 个数: \(l\le x \le r\) \(x\) 的每一个非 \(0\) 数位都能整除 \(x\)。 \(1 \le l,r\le9\times10^{18}\) Solution 思路比较顺的数位 \(\rm DP\)。由于 \ 阅读全文
posted @ 2025-02-14 15:05
goldspade
阅读(23)
评论(0)
推荐(0)
摘要:
链接 Description 求满足以下条件的 \(b\) 序列个数,对 \(998 \ 244 \ 353\) 取模: \(\forall i\in[1,n]:1\le b_i\le a_i\); \(\forall i\in[1,n):b_i\neq b_{i+1}\)。 Solution 1 阅读全文
posted @ 2025-02-14 12:00
goldspade
阅读(19)
评论(1)
推荐(0)

浙公网安备 33010602011771号