Stata and SAS answers bug me a bit (though I've posted the latter at least once) because there are no free or easily accessible interpreters. Well I guess SAS has University Edition now, but it didn't when I posted my first SAS answer here.
@quartata lol rekt
SAS University Edition requires massive setup though. It has to run in a VM so it requires VMWare or VirtualBox.
Mathematica answers kinda make me mad too even though they have a demo simply because in order to get the demo you have to put in your address your real name and whole bunch of other stuff
Write a program or function that takes in a rectangular grid of text where every cell is either an A or a B. All the A cells will form a simply-connected shape, i.e. they will all be orthogonally connected with no holes (diagonally neighboring letters do not count as connected). Likewise, all the...
Questions like this one make me realise how much Slip is missing. I have an anchor for edges, but no way of going "I want to start from one edge and match all the way to the opposite edge" :/
Monday Mini-Golf: A series of short code-golf questions, posted (hopefully!) every Monday.
(Sorry I'm late again; I was away from my computer basically all of yesterday and today.)
Us programmers (especially the code-golfers) sure love arbitrary integer sequences. We even have an entire site de...
Write a program or function that takes in an integer greater than 1 or less than -1. That is, the input won't be 0, 1, or -1.
If the input is 2, the output should be:
|\_/|
|___|
If the input is 3, the output should be:
|\_/\_/|
|______|
If the input is 4, the output should be:
|\_/\_/\_/...
I am very surprised that this has not been asked yet (or I didn't search hard enough). Either way, this challenge is very simple:
Input: A program in the form of a string. Additionally, the input may or may not contain:
Leading and trailing spaces
Trailing newlines
Non-ASCII characters
Outpu...
"Golfing" the sport in which one smacks a little white ball with a stick and has to go find it in the grass because it's nowhere near the little hole in the ground where it's supposed to be.
@DankMemes You can probably configure it to do that, but once you're used to using Cmd, things are actually a lot nicer. You can copy/paste in places where the control key does other things.
@GamrCorps I think all students should be given the opportunity to have a well-rounded education. I loved the fine arts electives I took in high school.