Count Zeros Xor Pairs
easy
1. Given an array A[] of size N. 2. Find the number of pairs (i, j) such that A[i] XOR A[j] = 0, and 1
Constraints
2 <= N <= 10^5 1 <= A[i] <= 10^5
Format
Input
Input is managed for you
Output
Output is managed for you
Example
Sample Input
6
1 3 1 3 1 1
Sample Output
7