feat(maiboyer/levels): adding maiboyer levels (without all issues)
This commit is contained in:
parent
e674ffcf4a
commit
db7f1343c5
48 changed files with 1864 additions and 0 deletions
12
snowcrash/level09/ressources/script.py
Executable file
12
snowcrash/level09/ressources/script.py
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env python
|
||||
import sys
|
||||
|
||||
buf = sys.stdin.buffer.read()
|
||||
buf = buf.strip(b'\n')
|
||||
|
||||
for i, b in enumerate(buf):
|
||||
b = b - i
|
||||
if b < 0:
|
||||
b = 255 + b
|
||||
sys.stdout.buffer.write(b.to_bytes())
|
||||
print()
|
||||
Loading…
Add table
Add a link
Reference in a new issue