#ABC177C. [ABC177C] 对的乘积之和
[ABC177C] 对的乘积之和
No testdata at current.
No submission language available for this problem.
Score : points
Problem Statement
Given are integers .
Find the sum of over all pairs such that , modulo .
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print , modulo .
3
1 2 3
11
We have .
4
141421356 17320508 22360679 244949
437235829