#d1403. 平方计数
平方计数
Square Counting
Problem Description
Given positive integers, with the -th denoted by , count how many pairs satisfy that is a perfect square.
Input Format
The first line contains a positive integer .
The second line contains numbers, representing .
Output Format
One integer on a single line: the answer.
Sample Input
5
1 2 3 4 5
Sample Output
2
Constraints
For all test data, and .