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

Function main

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

Source from the content-addressed store, hash-verified

16
17@aoc.main('09')
18def main(indata: str) -> tuple[int,int]:
19 players, rounds = [int(i) for i in re.findall('\d+', indata)]
20 p1 = play(players, rounds)
21 p2 = play(players, rounds*100)
22 return p1,p2
23
24if __name__ == "__main__":
25 main()

Callers 1

09.pyFile · 0.70

Calls 1

playFunction · 0.85

Tested by

no test coverage detected