Kwwiker

воть

Jan 19th, 2021
1,000
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. a=[]
  3. d=0
  4. for i in range(394480,394541):
  5.   x=i
  6.   a.append([])
  7.   for j in range(1,int(x**0.5+1)):
  8.     if x % j ==0:
  9.       a[d].append(j)
  10.     if x // j != j:
  11.       a[d].append(x//j)
  12.   a[d].sort()
  13.   d+=1
  14. maxl=0
  15. num=1
  16. for i in range(len(a)):
  17.   if len(a[i]) > max:
  18.     max=len(a[i])
  19. for i in range(len(a)):
  20.   if len(a[i]) == max:
  21.     print(num, len(a[i]), a[i][-1], a[i][-2])
  22.     num+=1
RAW Paste Data