summaryrefslogtreecommitdiff
path: root/progs/a919.py
blob: 73e1240cd095b8b001d4b3e78a5f9158261f35b2 (plain)
1
2
3
4
5
6
7
def find_Odd_Pair(A,N) : 
    oddPair = 0
    for i in range(0,N) :  
        for j in range(i+1,N) :  
            if ((A[i] ^ A[j]) % 2 != 0):  
                oddPair+=1  
    return oddPair