fork download
  1. while zmienna = gets
  2. d.to.i
  3. z=[]
  4. if (d%(d**5))==0
  5. n=1
  6. end
  7. else
  8. n=0
  9. x.to.i=(d**5)
  10. end
  11. for i in range(1, x+1)
  12. if d%i==0
  13. z.append(i)
  14. puts i
  15. i=len(z)-1-n
  16. end
  17. while i>=0
  18. puts d/z[i]
  19. i-=1
  20. end
  21. end
Runtime error #stdin #stdout 0s 4760KB
stdin
Standard input is empty
stdout
Standard output is empty