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