Japt magic, @cairdcoinheringaahing ;) The Í is the shortcut for n2, which gets passed to the î as 2 arguments, which only expects 1 argument. I'll add a full explanation in the morn'. — Shaggy38 secs ago
I really want to know why Japt has a shortcut for n2??
Pythagoras' Golfing Grid
Recently, I created a binary word search that got me working with grids. It was fun, so I wanted to create some more similar content. Meet Pythagoras' Golfing grid:
Input
You'll be given a numeric value for T.
Output
You'll output the values for d through k in alphabetic...
When it's ready to be posted :P (typically, wait a week and ask for feedback in chat a couple of times)
If it's especially complicated, then it should take longer to be ready. Otherwise, any time between 3 days (especially simple challenges) to a week (standard) works
@Tacoタコス I think your example for 75 is wrong? Either that, or the "c = f = d * k" bit shouldn't include "= f", as f is 100 in your example, but d*k = 4*20 = 80
In fact, the "= f" is the only bit about it that doesn't work
Pascal's triangle is a triangular diagram where the values of two numbers added together produce the one below them.
This is the start of it:
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
You can see that the outside is all 1s, and each number is the sum of the two above it. This continues forever.
Yo...
Use 'x' to check a tile, and normal Vim controls to move the cursor around. It works best in Vim instead of TIO. I chose ▄ and ▀ for the mines and tiles because neither renders in my terminal, so they look the same.
For those who were interested, it used the fact that the \$n\$th row of Pascal's triangle gives the coefficients of \$(x+1)^n\$. If we then get the roots of the polynomial represented by that list of coeffs, it'll be a list of all -1s (unless the list is a single element, as that has no roots)
CMC: Given a list of numbers (integers, positive integers, floats, whatever you want), verify that the list is a palindrome and that it is increasing (not strictly) up to the center (and, of course, that means it must be decreasing from the center to the end)
@user e.g. [1, 2, 3, 4] -> F (not palindrome, not decreasing after the center), [1, 2, 3, 2, 1] -> T, [1, 3, 4, 2, 1] -> F (not palindrome), [3, 1, 0, 1, 3] -> F (not increasing until the center and decreasing afterwards)
Nice, Scala's risen to 1049 from 816 in August and 772 in 2016. I can't tell if someone's been secretly posting really short Scala answers or if other answerers are getting worse, but either way, I'm happy :)
Background
The 4-8-8 tiling looks like this:
For the purpose of this challenge, we take the orientation of the tiling as exactly shown above. In plain English words, we take the tiling so that it can be seen as a rectangular grid of alternating octagons and squares, the upper left corner being a...