Given an array of n integers. Find out number of pairs in array whose XOR is odd.
First line consists of T test cases. First line of every test cases consists of N, denoting the number of elements in array. Second line of every test case consists of array elements.
Single line output, print the count of pairs which consists Odd XOR.
1 2 3
1 2 3 4
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.