2018 day5

This commit is contained in:
thib8956 committed 2025-07-28 17:06:17 +02:00
1 parent 1abb50e2a6
commit 5eacc06307
2 files changed
+38

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
def dist(a, b):
"manhattan distance"
return abs(a.x - b.x) + abs(a.y - b.y)
def main(inp):
pass
if __name__ == "__main__":
import fileinput
inp = list(l.rstrip() for l in fileinput.input())
main(inp)