ulvis.paste.net

Paste Search Dynamic
Recent pastes
split
  1. n = input()
  2. n = int(n)
  3. for i in range(n):
  4.         a, b, c, d = [int(k) for k in input().split()]
  5.         for i in range (a,(a*b*c*d)+1):
  6.                 if i%a==0 a
  7.                         break
  8. nd i%b==0 and i%c==0 and i%d==0:
  9.                         print(i)
Parsed in 0.002 seconds