@py3programmer I think you'll find my larger plan is this: 1) make popular golfing language, 2) become RO, 3) lose election 4, 4) wait for election 5, 5) realise I have no grinds to work on during the waiting period, 6) have a kind of mid-life crisis over what I'm even still code golfing for, because I've done everything I wanted to do, 7) win election 5
> Well my Jelly Encoder doesn't quite work yet, unless @cairdcoinheringaahing changed their name to Zion Mycelia Adamancy! caird freenamecallingaahing and none of us noticed
This challenge's name has haunted me since the first time I saw it. I think the onymiser substring and syllable count put it just close enough to my username to simulate the uncanny valley effect. — thejonymysterJul 14 at 13:11
Joe is a 1970 drama film written by Norman Wexler and directed by John G. Avildsen. It stars Peter Boyle, Dennis Patrick, and Susan Sarandon in her film debut.
== Plot ==
Advertising executive Bill Compton, his wife Joan, and daughter Melissa are a wealthy family living in New York's Upper East Side. Melissa has been living with her drug-dealing boyfriend. After Melissa overdoses and is sent to a hospital, Compton goes to her boyfriend's apartment to get her clothes. He confronts and kills the boyfriend in a fit of rage. At a nearby bar he hears factory worker Joe Curran ranting about how he hates...
Alternating patterns
Given an input array, find the number of substrings (contiguous sublists) that are longer than two characters and alternate between odd and even, or even and odd. You can assume that the input only contains the numbers 0-9. Zero is considered even.
Test cases
[2, 3, 4, 5] => ...
CMC: Find a closed post (on main or meta). Score is the number of close voters who are moderators. Tie breaker is number of former moderators, tie breaker is number of total voters. (Score to beat is 2-0-5).
(Only close voters on the most recent closure count)
@AlanBagel It's a little boring. Have you considered a self-scoring type version?
You'd probably want the tie breaker to still be code-golf though, since some languages are going to be better at this than others.
I'm really recommending thingking about this. I am not certain it would work.
Generally I would try to solve the challenge in your favourite language first.
You definitely want that tie breaker if you are doing this. You can get a score of 0 by just putting two spaces between every character, which is likely to work pretty well in most languages.
You might prefer posing this as restricted-source, where you have to score perfect? But that would rule out some languages.