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 Question

Add max length as per comment
Source Link
lynn
  • 69.7k
  • 11
  • 137
  • 285
  • The words will have a guaranteed length of \$L\geq5\$\5ドル \leq L \leq 99\$
  • The words can start with an a or z, even though the resulting cactus might look pretty ridiculous that way; they can also start with the same letter or even be the same.
  • A word can tower above the stem (e.g. yoghurt).
  • Although leading spaces to have the correct shape are of course mandatory, one or more (additional) leading/trailing spaces or newlines are allowed. As long as the correct cactus is somewhere on the screen, it's fine.
  • All the letters may be uppercase instead of lowercase, as long as its consistent across the entire 'cactus'.
  • Output format is flexible, so can be printed to STDOUT; returned as a string; returned as a character-matrix; etc.
  • The words will have a guaranteed length of \$L\geq5\$
  • The words can start with an a or z, even though the resulting cactus might look pretty ridiculous that way; they can also start with the same letter or even be the same.
  • A word can tower above the stem (e.g. yoghurt).
  • Although leading spaces to have the correct shape are of course mandatory, one or more (additional) leading/trailing spaces or newlines are allowed. As long as the correct cactus is somewhere on the screen, it's fine.
  • All the letters may be uppercase instead of lowercase, as long as its consistent across the entire 'cactus'.
  • Output format is flexible, so can be printed to STDOUT; returned as a string; returned as a character-matrix; etc.
  • The words will have a guaranteed length of \5ドル \leq L \leq 99\$
  • The words can start with an a or z, even though the resulting cactus might look pretty ridiculous that way; they can also start with the same letter or even be the same.
  • A word can tower above the stem (e.g. yoghurt).
  • Although leading spaces to have the correct shape are of course mandatory, one or more (additional) leading/trailing spaces or newlines are allowed. As long as the correct cactus is somewhere on the screen, it's fine.
  • All the letters may be uppercase instead of lowercase, as long as its consistent across the entire 'cactus'.
  • Output format is flexible, so can be printed to STDOUT; returned as a string; returned as a character-matrix; etc.
deleted 12 characters in body
Source Link
Kevin Cruijssen
  • 136.2k
  • 14
  • 154
  • 394

One big stem in the middle, with some upside down L-shaped branches sticking out.

One big stem in the middle, with some upside down L-shaped branches sticking out.

One big stem in the middle, with some L-shaped branches sticking out.

Question Unprotected by hyperneutrino
Question Protected by Community Bot
added 112 characters in body
Source Link
Kevin Cruijssen
  • 136.2k
  • 14
  • 154
  • 394
  • The words will have a guaranteed length of \$L\geq5\$
  • The words can start with an a or z, even though the resulting cactus might look pretty ridiculous that way; they can also start with the same letter or even be the same.
  • A word can tower above the stem (e.g. yoghurt).
  • Although leading spaces to have the correct shape are of course mandatory, one or more (additional) leading/trailing spaces or newlines are allowed. As long as the correct cactus is somewhere on the screen, it's fine.
  • All the letters may be uppercase instead of lowercase, as long as its consistent across the entire 'cactus'.
  • Output format is flexible, so can be printed to STDOUT; returned as a string; returned as a character-matrix; etc.
  • The words will have a guaranteed length of \$L\geq5\$
  • The words can start with an a or z, even though the resulting cactus might look pretty ridiculous that way; they can also start with the same letter or even be the same.
  • A word can tower above the stem (e.g. yoghurt).
  • Although leading spaces to have the correct shape are of course mandatory, one or more (additional) leading/trailing spaces or newlines are allowed. As long as the correct cactus is somewhere on the screen, it's fine.
  • Output format is flexible, so can be printed to STDOUT; returned as a string; returned as a character-matrix; etc.
  • The words will have a guaranteed length of \$L\geq5\$
  • The words can start with an a or z, even though the resulting cactus might look pretty ridiculous that way; they can also start with the same letter or even be the same.
  • A word can tower above the stem (e.g. yoghurt).
  • Although leading spaces to have the correct shape are of course mandatory, one or more (additional) leading/trailing spaces or newlines are allowed. As long as the correct cactus is somewhere on the screen, it's fine.
  • All the letters may be uppercase instead of lowercase, as long as its consistent across the entire 'cactus'.
  • Output format is flexible, so can be printed to STDOUT; returned as a string; returned as a character-matrix; etc.
Became Hot Network Question
Source Link
Kevin Cruijssen
  • 136.2k
  • 14
  • 154
  • 394
Loading

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