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. for i in range(1, x+1)
  11. if d%i==0
  12. z.append(i)
  13. puts i
  14. i=len(z)-1-n
  15. end
  16. while i>=0
  17. puts d/z[i]
  18. i-=1
  19. end
Runtime error #stdin #stdout 0s 4760KB
stdin
Standard input is empty
stdout
Standard output is empty