#P10171. [DTCPC 2024] 取模
[DTCPC 2024] 取模
Problem Description
Given a sequence and an interval , ask how many integers satisfy that all values are pairwise distinct.
Input Format
The first line contains three positive integers ().
The second line contains positive integers representing ().
Output Format
Output one integer in a single line, representing the answer.
3 1 3
11 7 6
1
Hint
Translated by ChatGPT 5