#include using namespace std; long long xorPairCount(int arr[], int n, int x) { long long result = 0; // Initialize result // create empty map that stores counts of // individual elements of array. unordered_map m; for (int i=0; i> n >> k; int arr[n]; for (int i = 0; i < n; i++) { cin>>arr[i]; } /* int map_[1<<18]; for(int i = 0; i < (1<<18); i++){ map_[i] = 0; } int ans = 0; for (int i = 0; i < n; i++) { ans += map_[arr[i] ^ k]; map_[arr[i]]++; } */ cout<