WheatWizard
A quiet enigma. We don't know anything about WheatWizard yet.
Posts
You are a low-level censor working for the Ministry of Media Accuracy. Part of your job is to make sure that certain words don't appear in publications. Every morning you get a fresh stack of next...
4 answers · posted 3mo ago by WheatWizard · last activity 3mo ago by Shaggy
Task Given a list of numbers $X$ produce a second list of numbers $Y$ such that $Y_i$ is the length of the longest common prefix of $X$ and $X$ with the first $i$ elements removed. For example if...
1 answer · posted 3mo ago by WheatWizard · last activity 3mo ago by TheCodidacter, or rather ACodidacter
An $n$-polyomino is a connected subset of the square tiling consisting of $n$ squares. We will not require that polyominos be simply connected, that is they can have holes. We will say a $n$-polyo...
1 answer · posted 3mo ago by WheatWizard · edited 3mo ago by WheatWizard
An polyomino is a non-empty connected subset of the square tiling consisting of squares joined along their edges. We will not require that polyominos be simply connected, that is they can have hole...
0 answers · posted 3mo ago by WheatWizard
Haskell + hgl, 134 bytes k=cy"X.XX" x#1=[4,0,9,9]!x 2#y=8 3#y=[8,9,4,4]!y x#3=[0,3]!x _#_=0 x?y|(n,j)<-fvD 4$x%4#(y%4)=tk y$dr j$tk x<dr n<cy[dr2 k,k,cy".X",k] Attempt This Onlin...
posted 3mo ago by WheatWizard · edited 3mo ago by WheatWizard
I'm going to reiterate and build off ideas I laid out on this post on PPCG. First let's point out that at current the leader board does not support fractional scores. In this answer I am going to ...
posted 3mo ago by WheatWizard · edited 3mo ago by WheatWizard
Haskell + hgl, 14 bytes xBl<<ss><fn<iw Attempt This Online! Explanation ss gets all substrings of the input fn filters out the substrings that don't ... iw checks if the fo...
posted 3mo ago by WheatWizard · edited 3mo ago by WheatWizard
In this challenge you will take a number $n$ and a string $X$ of length $\geq n$, and produce a regular expression which matches all strings that are withing $n$ character substitutions of $X$. Sp...
3 answers · posted 3mo ago by WheatWizard · last activity 3mo ago by WheatWizard
Task You are going to take three strings as input $A$, $B$ and $X$. And your goal is to determine if there exists a third string $S$ such that both $A$ and $B$ can be formed by iteratively removin...
0 answers · posted 3mo ago by WheatWizard · edited 3mo ago by WheatWizard
Given two binary strings $A$ and $B$ such that $A$ is an anagram of $B$, output a third binary string $S$ such that both $A$ and $B$ can be created by iterated removals of the substring $10101$ fro...
0 answers · posted 3mo ago by WheatWizard
Given a number $n \geq 3$ as input output the smallest number $k$ such that the modular residues of $k$ by the first $n$ primes is exactly $\{-1,0,1\}$. That is there is a prime in the first $n$ p...
0 answers · posted 3mo ago by WheatWizard · edited 3mo ago by WheatWizard
Recently I asked for tips on improving some code-golf of mine. The code was supposed to output every third value of the Fibonacci sequence starting with 2: 2,8,34,144,610,2584,10946,46368,196418,...
0 answers · posted 1mo ago by WheatWizard · edited 1mo ago by WheatWizard
Haskell + hgl, 30 bytes ic"|"<<tv(:".")><fl<ce '.'><eq Attempt This Online! Explanation This performs a cartesian product to get all possible ways to replace characters w...
posted 3mo ago by WheatWizard
At my job we have to sometimes lay out materials. Materials come in large long rolls and are cut into smaller pieces when being laid out. When we order the rolls we draw up a layout document which...
0 answers · posted 2mo ago by WheatWizard
Haskell + hgl, 10 bytes mpn$ce~<gj Attempt This Online! Explanation mpn map across all non-empty prefixes of the input ... ce count the number of elements in each prefix equal to ... g...
posted 3mo ago by WheatWizard

Reputation | 331 | |
Number of top-level posts | 10 | |
Number of answers | 5 | |
Sum of received votes (up minus down) | 33 | |
Number of edits made | 16 |
Earned Abilities
Statistics
Posts | ||
---|---|---|
Count | 15 | |
Questions | 10 | |
Answers | 5 | |
Articles | 0 |
Votes cast | ||
---|---|---|
Count | 12 |
Flags raised | ||
---|---|---|
Count | 0 |