Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AxlLind/AdventOfCode
/ main
Function
main
2018/src/23.py:19–21 ·
view source on GitHub ↗
(indata: str)
Source
from the content-addressed store, hash-verified
17
18
@aoc.main(
'23'
)
19
def
main(indata: str) -> tuple[int,int]:
20
bots = [[int(i)
for
i in re.findall(
"-?\d+"
, l)]
for
l in indata.split(
'\n'
)]
21
return
part1(bots), part2(bots)
22
23
if
__name__ ==
"__main__"
:
24
main()
Callers
1
23.py
File · 0.70
Calls
2
part1
Function · 0.70
part2
Function · 0.70
Tested by
no test coverage detected