fork(1) download
  1. def c(first, *other):
  2. d = set([n for n in range(1, first+1) if first%n==0])
  3. for x in other:
  4. k = set([n for n in range(1, x+1) if x%n==0])
  5. z = k&d
  6. return max(z)
Success #stdin #stdout 0.04s 9488KB
stdin
Standard input is empty
stdout
Standard output is empty