(indata: str)
| 59 | |
| 60 | @aoc.main('22') |
| 61 | def 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 | |
| 66 | if __name__ == "__main__": |
| 67 | main() |
no test coverage detected