atcoder#ARC107B. [ARC107B] Quadruple
[ARC107B] Quadruple
Score : points
Problem Statement
Given are integers and . How many quadruples of integers satisfy both of the following conditions?
Constraints
- All numbers in input are integers.
Input
Input is given from standard input in the following format:
Output
Print the answer.
2 1
4
Four quadruples below satisfy the conditions:
2525 -425
10314607400