Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

added 19 characters in body
Source Link
ovs
  • 61.2k
  • 3
  • 49
  • 164

Haskell, 30(削除) 30 (削除ここまで) 29 bytes

map(\c->c<$['1'..c]<$)['1'<*>g<$>g '9'
g c=['1'..'9']c]

Try it online! Try it online!

Haskell, 30 bytes

map(\c->c<$['1'..c])['1'..'9']

Try it online!

Haskell, (削除) 30 (削除ここまで) 29 bytes

(<$)<*>g<$>g '9'
g c=['1'..c]

Try it online!

Source Link
ovs
  • 61.2k
  • 3
  • 49
  • 164

Haskell, 30 bytes

map(\c->c<$['1'..c])['1'..'9']

Try it online!

AltStyle によって変換されたページ (->オリジナル) /