Skip to main content
added 52 characters in body
Source Link
Galen Ivanov
  • 21.2k
  • 3
  • 24
  • 61

Red, 81109 bytes

repeat n 8000[s: 0 p: 1 foreach t form pd: 1000 + n[s: s + r: do t - 48]if48 sp: p * r]if all[s = 9[print9 p]]p = 0][print d]]

Try it online!Try it online!

Red, 81 bytes

repeat n 8000[s: 0 foreach t form p: 1000 + n[s: s + do t - 48]if s = 9[print p]]

Try it online!

Red, 109 bytes

repeat n 8000[s: 0 p: 1 foreach t form d: 1000 + n[s: s + r: do t - 48 p: p * r]if all[s = 9 p = 0][print d]]

Try it online!

Source Link
Galen Ivanov
  • 21.2k
  • 3
  • 24
  • 61

Red, 81 bytes

repeat n 8000[s: 0 foreach t form p: 1000 + n[s: s + do t - 48]if s = 9[print p]]

Try it online!