P10171 [DTCPC 2024] 取模

题目描述

给定序列 $\{a_n\}$ 和 $[L,R]$,问有多少个 $k\in [L,R]$ 满足 $a_i\bmod k$ 互不相同。

输入格式

输出格式