CrSb0001
A quiet enigma. We don't know anything about CrSb0001 yet.
Posts
See all 23 »Lean is an interactive theorem prover and a functional programming language created in 2013. What tips do you have for golfing in Lean? Tips should be specific to Lean ("remove comments" is not an...
0 answers · posted 2mo ago by CrSb0001
Also posted here on CodeGolf.SE Brief introduction to Emmental: Emmental is a self-modifying programming language defined by a meta-circular interpreter. It is a stack based language, but also ...
0 answers · posted 1y ago by CrSb0001
Python 3.8, 44 bytes Uses a modulus of 2**16 == 4**8 == 65536. for i in range(1,98,2):print(pow(i,-1,4**8)) How it works: for i in # Iterator ra...
posted 3mo ago by CrSb0001
Assignment expressions (Python 3.8+) The assignment expression (aka the walrus operator) := was introduced in Python 3.8 as a result of PEP 572, which can be used inline to assign a variable as pa...
posted 3mo ago by CrSb0001
Emmental, 51 bytes #72.#101.#108::..#111:.#44.#32.#87..#114..#100.#33. Try it online! Basically what goes on is #[num] pushes the ASCII value of num onto the top of the stack, : duplicates t...
posted 3mo ago by CrSb0001
Python 3, 50 bytes We can simply omit the lambda name since we don't refer to it anywhere in the lambda definition. lambda l:[l[:i+1].count(j)for i,j in enumerate(l)] Example usage in the term...
posted 2mo ago by CrSb0001
Lean 4, 232 bytes def r(i):=Id.run do let M:=[999,899,499,399,99,89,49,39,9,8,4,3,0] let N:=["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"] let mut s:="" let mut n:=i for x in Lis...
posted 19d ago by CrSb0001

Reputation | 214 | |
Number of top-level posts | 6 | |
Number of answers | 17 | |
Sum of received votes (up minus down) | 23 | |
Number of edits made | 25 |
Earned Abilities
Statistics
Posts | ||
---|---|---|
Count | 23 | |
Questions | 6 | |
Answers | 17 | |
Articles | 0 |
Votes cast | ||
---|---|---|
Count | 13 |
Flags raised | ||
---|---|---|
Count | 0 |