Solutions for Power of Pair

    • @Geraldpof
    • @Charles, submitted in Python 3, achived 100% score
    def solve(X, Y): 
        m=len(X)
        n=len(Y)
        ans = 0 
        for i in range(m): 
            for j in range(n): 
                if (pow(X[i], Y[j]) > pow(Y[j], X[i])): 
                    ans+=1 
        return ans