Minimum depth - count the shortest “pile” (1, in example above)
Maximum depth - count the tallest “pile” (4, in example above)
Average depth - average count of all “piles” (1.9, in example above - rounding to tenths)
Duration - (each “fall” = 1 second) - time from the first snapshot to the last snapshot (3 seconds, in example above)
Can you imagine what life would be like without the ability to edit messages on TNB? People would be forced to confront the fact they occasionally suck at spelling/grammar.
Gaot++, 171 bytes
bleeeeeeeeeeeet
bleeeet bleeeeeet
bleeeeeeeeeet bleeeet blet
bleeeeeeeeeeeet bleeeet blet
bleeeeeeeeeeeeet bleeeet blet
bleeeeeeeeeeeeet bleeeet blet
bleeeeeeeet bleeeeeet
Compressed: 12e 4e 6e 10e 4e 1e 12e 4e 1e 13e 4e 1e 13e 4e 1e 8e 6e
Try it online!
Explanation
X 4e 1...
Between the kitten question and seeing this question at U&L about some sed magic, how about implementing tac?
Objective
Implement a program that will reverse and print the lines in a file.
Input
A file, provided as a name or via standard input
Output
The lines, reversed, to standard o...
@EᴀsᴛᴇʀʟʏIʀᴋ rep isn't always a great indicator of quality, and I spent more time on meta than I did on main, in any case, I had some spare unicorn bucks left over
Lets play Stratego!
Stratego is a game of imperfect information which centers around strategy foresight and deception.
https://en.wikipedia.org/wiki/Stratego
Your mission should you choose to accept it. is to write a bot which either uses polymorphism in a java class file, and/or communicate ...