This commit is contained in:
Maieul BOYER 2026-01-19 18:34:11 +01:00
parent 890a4c0d5e
commit 0dc6576ed1
Signed by: maix
SSH key fingerprint: SHA256:iqCzqFFF5KjRixmDExqbAltCIj9ndlBWIGJf3t9Ln9g
5 changed files with 120 additions and 0 deletions

12
levels/09/script.py Executable file
View 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()