refactor(maiboyer): adding the maibaoyer directory
This commit is contained in:
parent
db7f1343c5
commit
ab55d4de10
48 changed files with 0 additions and 0 deletions
12
maiboyer/level09/ressources/script.py
Executable file
12
maiboyer/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