MCPcopy Create free account
hub / github.com/AxlLind/AdventOfCode / main

Function main

2018/src/22.py:61–64  ·  view source on GitHub ↗
(indata: str)

Source from the content-addressed store, hash-verified

59
60@aoc.main('22')
61def main(indata: str) -> tuple[int,int]:
62 depth,rows,cols = [int(i) for i in re.findall("\d+", indata)]
63 p1, cave = build_cave(depth,rows,cols)
64 return p1, dijkstra(cave, (0,0,True,False), (rows,cols,True,False))
65
66if __name__ == "__main__":
67 main()

Callers 1

22.pyFile · 0.70

Calls 2

build_caveFunction · 0.85
dijkstraFunction · 0.70

Tested by

no test coverage detected