diff options
| author | 2021-12-13 19:18:02 +0100 | |
|---|---|---|
| committer | 2021-12-14 21:40:24 +0100 | |
| commit | 5b4e79cc749bd2d6451dc0b1fb03f5b500eb8873 (patch) | |
| tree | 2d8b4c6a291e0ba641158394cccfa74f84b89e8b /day12/__init__.py | |
| parent | 7bbeb8155521686bd9bbd28fec5cb91ffb8360af (diff) | |
| download | 2021-5b4e79cc749bd2d6451dc0b1fb03f5b500eb8873.tar.gz 2021-5b4e79cc749bd2d6451dc0b1fb03f5b500eb8873.tar.bz2 2021-5b4e79cc749bd2d6451dc0b1fb03f5b500eb8873.zip | |
Day 13
Diffstat (limited to 'day12/__init__.py')
| -rw-r--r-- | day12/__init__.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/day12/__init__.py b/day12/__init__.py index aad531d..9d7a036 100644 --- a/day12/__init__.py +++ b/day12/__init__.py | |||
| @@ -108,9 +108,4 @@ class AssignmentTwo(Assignment): | |||
| 108 | 108 | ||
| 109 | def run(self, input: Dict[str, Node]) -> int: | 109 | def run(self, input: Dict[str, Node]) -> int: |
| 110 | paths = sorted(self.calculate_all_paths(input['start'], input['end'])) | 110 | paths = sorted(self.calculate_all_paths(input['start'], input['end'])) |
| 111 | |||
| 112 | print() | ||
| 113 | for path in paths: | ||
| 114 | print(','.join([ n.id for n in path ])) | ||
| 115 | |||
| 116 | return len(paths) | 111 | return len(paths) |
