summaryrefslogtreecommitdiff
path: root/2024/21
diff options
context:
space:
mode:
authormhsn <mail@mhsn.net>2026-03-18 21:48:13 +0000
committermhsn <mail@mhsn.net>2026-03-18 21:48:13 +0000
commit86bac31392a76da84817eec020d2b84d099b3cc1 (patch)
treee2ee52db59b86b914d5b4bcceb19c9b5d899fff4 /2024/21
parent62fe361fc42dea75deaf7ac31c0ba6ba80e26a9c (diff)
downloadpuzzles-master.tar.gz
puzzles-master.zip
add other challenges supportHEADmaster
Diffstat (limited to '2024/21')
-rwxr-xr-x2024/21/python.py42
1 files changed, 0 insertions, 42 deletions
diff --git a/2024/21/python.py b/2024/21/python.py
deleted file mode 100755
index 5873d65..0000000
--- a/2024/21/python.py
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/usr/bin/env python3
-
-from fileinput import input
-from functools import cache
-
-seqs = [s.strip() for s in input()]
-
-numpad = {
- "0": {"^": "2", ">": "A"},
- "1": {"^": "4", ">": "2"},
- "2": {"^": "5", ">": "3", "v": "0", "<": "1"},
- "3": {"^": "6", "v": "A", "<": "2"},
- "4": {"^": "7", ">": "5", "v": "1"},
- "5": {"^": "8", ">": "6", "v": "2", "<": "4"},
- "6": {"^": "9", "v": "3", "<": "5"},
- "7": {">": "8", "v": "4"},
- "8": {">": "9", "v": "5", "<": "7"},
- "9": {"v": "6", "<": "8"},
- "A": {"^": "3", "<": "0"},
-}
-dirpad = {
- "^": {">": "A", "v": "v"},
- ">": {"^": "A", "<": "v"},
- "v": {"^": "^", ">": ">", "<": "<"},
- "<": {">": "v"},
- "A": {"v": ">", "<": "^"},
-}
-
-
-silver = 0
-gold = 0
-
-
-@cache
-def move(a, b, n):
- pass
-
-
-print(seqs)
-
-print("silver:", silver)
-print("gold:", gold)