I (rev)?(pal)? the source code, you (rev)?(pal)? the input! code-golf string source-layout
Just because the reverse and palindrome were not too challenging individually :)
Write a program (full program or function) that satisfies the following: given a string input,
the program as-is outputs the...
intuitively i'd recommend making the palindromization without repeating the middle character, but since the original challenge does repeat the middle character it's probably still most fitting to keep it that way
Background
Numeric Mahjong is a hypothetical variation of Japanese Mahjong, played with nonnegative integers instead of Mahjong tiles. Given a list of nonnegative integers, it is a winning hand if it satisfies the following:
its length is \$3n+2\$ for some nonnegative integer \$n\$, and
it can b...
Do gcc/clang have a way to execute the compiled program immediately? Like for Swift you have swift build to just compile or swift run to both compile and execute
@ais523 Oh goodness, that's obscure. How did you manage to figure it out?
@UnrelatedString Piet Mondrian, maybe (at any rate, the creator of Piet mentions that he would've called it Mondrian but the name was already taken by "a rather mundane-looking scripting language")
@lyxal Every apple contains Pip. However, it's not recommended to eat that part.
CMC: given two lists of posints X and Y, remove the elements of Y from X by going "in order" through X and not skipping any elements of Y unless they arent present in X. Example incoming