You are viewing a single comment's thread. Return to all comments →
Small
def getTotalX(a, b): nmax,nmin,count = max(a),min(b),0 for i in range(1,int(nmin/nmax)+1): if(sum((i*nmax)%n for n in a)+sum(n%(i*nmax) for n in b))==0: count+=1 return count
Seems like cookies are disabled on this browser, please enable them to open this website
Between Two Sets
You are viewing a single comment's thread. Return to all comments →
Small