2024-11-02 18:13:20 +01:00
|
|
|
#!/bin/python3
|
2024-12-07 21:10:04 +01:00
|
|
|
import sys,time,re
|
2024-11-02 18:13:20 +01:00
|
|
|
from pprint import pprint
|
2024-11-24 19:21:15 +01:00
|
|
|
sys.path.insert(0, '../../')
|
2024-12-05 19:47:18 +01:00
|
|
|
from fred import list2int,get_re,nprint,lprint,loadFile
|
2024-12-07 21:10:04 +01:00
|
|
|
start_time = time.time()
|
2024-11-02 18:13:20 +01:00
|
|
|
|
2024-11-22 18:03:02 +01:00
|
|
|
input_f = 'test'
|
2024-11-02 18:13:20 +01:00
|
|
|
|
|
|
|
#########################################
|
|
|
|
# #
|
|
|
|
# Part 1 #
|
|
|
|
# #
|
|
|
|
#########################################
|
2024-12-11 22:48:21 +01:00
|
|
|
def part1():
|
|
|
|
return
|
|
|
|
|
|
|
|
start_time = time.time()
|
2024-12-12 14:20:12 +01:00
|
|
|
print('Part 1:',part1(), '\t\t', round((time.time() - start_time)*1000), 'ms')
|
2024-11-02 18:13:20 +01:00
|
|
|
|
|
|
|
|
|
|
|
#########################################
|
|
|
|
# #
|
|
|
|
# Part 2 #
|
|
|
|
# #
|
|
|
|
#########################################
|
2024-12-11 22:48:21 +01:00
|
|
|
def part1():
|
|
|
|
return
|
|
|
|
|
|
|
|
start_time = time.time()
|
|
|
|
print('Part 2:',part1(), '\t\t', round((time.time() - start_time)*1000), 'ms')
|