Skip to content

Instantly share code, notes, and snippets.

View cairdcoinheringaahing's full-sized avatar

cairdcoinheringaahing cairdcoinheringaahing

View GitHub Profile
import csv
import collections
digraphs = collections.Counter()
trigraphs = collections.Counter()
quadgraphs = collections.Counter()
with open('QueryResults.csv', newline = '', encoding = 'utf-8') as f:
for row in csv.reader(f):
if row[0] == 'Post Link': continue

Input

A string S of length between 2 and 30. The characters are taken from the 95 printable ASCII characters, byte values 32 (0x20) to 126 (0x7E) ( to ~)

Output

Your code must compute and output all strings within [Levenshtein][1] distance 2 of S. You can have duplicates as long as you also have all the different strings, and the output may be in any order.

Scoring

For the descriptions, l refers to the left argument, r to the right. As Ƒ doesn't map over lists, (for some atom A that doesn't operate on lists) is equivalent to AƑ€Ạ for lists (i.e. the atom is invariant for each element)

For the nilad commands, is simply equalivalent to ⁼N, so they've been excluded from this list

The atoms WḲṆṾ all yield 0 no matter the left argument, and so are ignored in the list.

Atom Description
All badges you can earn on PPCG without posting a single answer or question. * indicates can be awarded multiple times with no limit.
Without posting an answer or question, it is possible to get a maximum of 60 badges, assuming the indefinite ones are only awarded once
Altruist
Investor
Autobiographer
Caucus *
Constituent *
Commentator
Pundit
;{'ZYXWVUTSRQPOMLKJIHGFEDCBA'UwwUwwUwwUwwUwwUwwUwwUwwUwwUwwUwwUwwUw?
;ECEboDFS
;@`
;EJO
;^>>>>>>^++++++@+{+@------@.^<^>++.^+.^<^<^>>+.^+.<^>+.^<^<^<^>>>+.^+.^<^>+.^+.^<^<^>>+.^+.^<^>+.^+.^<^<^<^<^>>>>+.^+.^<^>+.^+.^<^<^>>+.^+.^<^>+.^+.^<^<^<^>>>+.^+.^<^>+.
+25
`i
Ex,+65,h
1 {- !!! /* /* -}
;

Languages

Language name Written in Version TIO First commit date Latest commit date JHT Rating Hello, World! TC?
[Adapt][l1] Add++ v2 [✓][t1] 07/05/18 13/08/19 14 - 71 [14][h1] N/A
[Add++][l2] Python v5.10 [✓][t2] 17/05/17 31/12/18 28 - 765 [19][h2] N/A
[Adjust][l22] Add++ v1 04/05/21 04/05/21 N/A N/A N/A
[Bitwise Fuckery][l3] Python v1 [✓][t3] 23/09/17 10/12/17 3 - 36 [260][h3] N/A
[Commentator][l4] Python v1 [✓][t4] 16/07/17 17/12/17 8 - 117 [197][h4] N/A
[Deorst][l5] Python v1.2 [✓][t5] 26/08/17 07/09/19 21 - 137 [15]
- N: Schindler's List
- N: The Exorcist
- N: The Shining
- 2001: A Space Odessy
- N: A Clockwork Orange
- Jurassic Park
- N: The Godfather
- N: Stand By Me
- E.T. The Extraterrestrial
- Taken
Original character Replace code
¡ v!
¢ |c
£ -L
¤ ^o
¥ =Y
¦ ^|
© oC
¬ ^_