Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AxlLind/AdventOfCode
/ main
Function
main
2018/src/08.py:24–26 ·
view source on GitHub ↗
(indata: str)
Source
from the content-addressed store, hash-verified
22
23
@aoc.main(
'08'
)
24
def
main(indata: str) -> tuple[int,int]:
25
_,e = parse_tree([int(i)
for
i in indata.split(
' '
)],0)
26
return
metadata_sum(e), node_value(e)
27
28
if
__name__ ==
"__main__"
:
29
main()
Callers
1
08.py
File · 0.70
Calls
3
parse_tree
Function · 0.85
metadata_sum
Function · 0.85
node_value
Function · 0.85
Tested by
no test coverage detected