Check for repeated repeated words
Consider a stream/file containing printable ASCII text.
Task
Your code should read in a stream/file containing printable ASCII text and output any repeated words. A repeated word is one where it occurs twice or more in succession, separated only by white spa...
@Lembik well, most flavours simply say that a - at the beginning or end of a character class can't possibly be a range, so it's treated literally. that said [0-9-!] where the second - still can't really be part of a range will cause many of them to error out.
> As part of our efforts to improve accessibility site-wide, the launch of Dance Dance Authentication also includes the implementation of Blink Blink Authentication and Sing Sing Authentication.
Java, 115 bytes: a->b->for(char i:b.toCharArray())if(!java.util.Arrays.asList(a.toCharArray()).contains(i))return false;return true; I should probably try a different approach.
Each March in the United States, the NCAA holds a 68-team tournament for both men's and women's college basketball. Here's what the bracket looks like:
There are four regions, each with 16 teams seeded from 1-16.
Each region is seeded the same way, and across the four regions, the same matchu...
Stop using flags as jokes. No question. End of. Just stop. It's not funny for mods, nor for all the 10k users who end up seeing flags without any reason.
@Lembik in case you overlooked it: "does output have to be a single newline-separated string or can it be a list of strings? (one list per repeated word)" and "can the input be empty, and if not, can it contain no repeated words at all? (I assumes yes to both of those?)"
@ConorO'Brien or that. If someone is kicked three times from the same room, it'll ping mods. Maybe the third invalidated flag should ping a mod (and reveal who is doing the flagging)