This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Input: windmills | |
Output: | |
----------- | |
windmills |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from math import ceil as c | |
def best_score(n): | |
score = lambda l:abs(l[1]-l[0])+(l[0]*l[1]-n) | |
possible = [] | |
for i in range(1,n+1): | |
possible.append((i, c(n/i))) | |
return min(possible, key=score) | |
for i in range(1, 100): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Input: (0, 0, 0) | |
#Output: | |
* * * | |
----------- ------- | |
/ * \ |*|*|*| | |
/* * *\ |*|*|*| | |
/ * * * \ |*|*|*| | |
| * * | |*|*|*| | |
|* * * * * *| |*|*|*| | |
------- ------- ------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>+>+>++++<[>[-<+++++>]<<]> | |
qaqqbqqaj@bkk:if getline('.') != '0' | exe 'normal !a' | endif | |
qqb<C-x>k5<C-a>j:if getline('.') != '0' | exe 'normal @b' | endif | |
qj<C-a>j<C-a>j4<C-a>k@ak |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8: | |
/\ | |
/ \ | |
/ \ | |
/ \ | |
/ \ | |
/ \ | |
/ \ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function! Alt() | |
let c = nr2char(getchar() + 128) | |
exec 'normal gi'.c | |
endfunction | |
inoremap <C-i> <C-o>:call Alt()<cr> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ylPr:prpprupr=prrpraprnprgprepr($pr)dd@"{JqqJr+@qq@q0":PdT=x0Pr:dd@" | |
"ay$yl$pr*pr("appr+pr1pr)pr/pr20Pr:prpprupr=dd@" | |
YPJr*ylpr($pr+pr1pr)pr/pr20Pr:prpprupr=dd@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import itertools as it | |
a = ["ais532", "Anders Kaseorg", "Dennis", "DJMcMayhem", "Martin Ender", "udioica", "Primo", "Martin Ender"] | |
b = ["Martin Ender", "Dennis", "Luis Mendo", "DJMcMayhem", "Nimi", "AdmBorkBork", "Mego", "Nathan Merrill"] | |
combos = list(list(zip(x, b)) for x in it.permutations(a, len(b))) | |
print(len(combos)) | |
good_combos = [] | |
for combo in combos: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It’s the hottest summer on record, and all across Europe, valuable objects are disappearing. | |
Museum curators unlock cabinets and find precious artefacts stolen. Wealthy mansion owners wake up to see their priceless paintings have vanished from the walls. | |
One thing’s clear: a master thief is touring the continent and the police are left scratching their heads. | |
In this 15 minute game by Crows Crows Crows, a team led by William Pugh (The Stanley Parable), slip into the soft-soled shoes of the mastermind responsible… | |
… silently cross the darkened lawn of the mansion… |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[][(![]+[]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[]+[])[+[]]+(!!!![]+[]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((!![]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+([][[]]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+!+[]]+(+[![]]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+( |
OlderNewer