(indata: str)
| 13 | |
| 14 | @aoc.main('25') |
| 15 | def main(indata: str) -> tuple[int,str]: |
| 16 | stars = [[int(i) for i in re.findall("-?\d+", l)] for l in indata.split('\n')] |
| 17 | constellations = 0 |
| 18 | while stars: |
| 19 | pop_constellation(stars, stars[0]) |
| 20 | constellations += 1 |
| 21 | return constellations, '🎄' |
| 22 | |
| 23 | if __name__ == '__main__': |
| 24 | main() |
no test coverage detected