-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtemplate.py
More file actions
83 lines (72 loc) · 1.52 KB
/
Copy pathtemplate.py
File metadata and controls
83 lines (72 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Python Standard Library Imports
import copy
import heapq
import math
import re
import typing as T
from collections import (
defaultdict,
deque,
)
from dataclasses import (
dataclass,
field,
)
from functools import (
cache,
lru_cache,
)
from itertools import (
combinations,
permutations,
product,
)
from operator import (
add,
mul,
)
# Third Party (PyPI) Imports
from htk import fdb # noqa: F401
from utils import debug # noqa: F401
from utils import (
RE,
BaseSolution,
config,
main,
solution,
)
config.EXPECTED_ANSWERS = (None, None)
config.TEST_CASES = {
'': (None, None),
# 'b': (None, None),
# 'c': (None, None),
}
config.INPUT_CONFIG.as_integers = False
config.INPUT_CONFIG.as_comma_separated_integers = False
config.INPUT_CONFIG.as_json = False
config.INPUT_CONFIG.as_groups = False
config.INPUT_CONFIG.strip_lines = True
config.INPUT_CONFIG.as_oneline = False
config.INPUT_CONFIG.as_coordinates = False
config.INPUT_CONFIG.coordinate_delimeter = None
config.INPUT_CONFIG.as_table = False
config.INPUT_CONFIG.row_func = None
config.INPUT_CONFIG.cell_func = None
@solution
class Solution(BaseSolution):
def process_data(self):
data = self.data
def solve1(self) -> T.Optional[int]:
#
# TODO: FILL THIS IN
#
answer = None
return answer
def solve2(self) -> T.Optional[int]:
#
# TODO: FILL THIS IN
#
answer = None
return answer
if __name__ == '__main__':
main()