Update template
This commit is contained in:
parent
0f7606410c
commit
7986ecfc21
31
dx.py
31
dx.py
@ -1,30 +1,5 @@
|
||||
from lib import *
|
||||
from lib import get_data
|
||||
|
||||
EXAMPLE = """
|
||||
"""
|
||||
data = get_data(__file__)
|
||||
print(data)
|
||||
|
||||
def solve(input: Input, second=False):
|
||||
res = 0
|
||||
input.stats()
|
||||
# g = input.grid2()
|
||||
# ls = input.lines()
|
||||
# ps = input.paras()
|
||||
return res
|
||||
|
||||
def main():
|
||||
DAY_INPUT = "ix.txt"
|
||||
|
||||
print("Example 1:", solve(Input(EXAMPLE)))
|
||||
return
|
||||
|
||||
print("Solution 1:", solve(Input(DAY_INPUT)))
|
||||
return
|
||||
|
||||
print("Example 2:", solve(Input(EXAMPLE), True))
|
||||
return
|
||||
|
||||
print("Solution 2:", solve(Input(DAY_INPUT), True))
|
||||
return
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
Loading…
Reference in New Issue
Block a user