luogu#P2833. 等式
等式
Background
One day, ZKC had a sudden idea. Staring at the sky, he came up with a nice problem, but after racking his brains he could not solve it, so he asks you to help him.
Problem Description
Given , find how many pairs of integer solutions satisfy , with and .
Input Format
A single line contains seven integers , separated by spaces.
Output Format
Output the number of pairs of integer solutions.
1 1 -3 0 4 0 4
4
Hint
For of the testdata, the absolute values of do not exceed .
For of the testdata, the absolute values of do not exceed .
Translated by ChatGPT 5