Code for solving challenges of Advent of Code 2018 in Python3
1.py - code for part1.
2.py - code for part2.
input.txt - input data.
test.txt - test data.
result.txt - for checking answer is correct.
- There might be more than one test file.
1.pyand2.pyprovide stright-forward solutions.(Usually not an optimized algorithm)- Will provide some good solutions I learned from 4chan/g/ and Reddit/r/adventofcode/
| Index | Link | Index | Link |
|---|---|---|---|
| Day01 | https://hackmd.io/s/rJrKoY3kV | Day14 | |
| Day02 | Day15 | ||
| Day03 | Day16 | ||
| Day04 | Day17 | ||
| Day05 | Day18 | ||
| Day06 | Day19 | ||
| Day07 | Day20 | ||
| Day08 | Day21 | ||
| Day09 | Day22 | ||
| Day10 | Day23 | ||
| Day11 | Day24 | ||
| Day12 | Day25 | ||
| Day13 |
| Day01 | Report | Day11 | Report |
|---|---|---|---|
1.py |
real 0m0.097suser 0m0.000ssys 0m0.000s |
1.py |
real 0m0.657suser 0m0.000ssys 0m0.015s |
2.py |
real 0m0.200suser 0m0.000ssys 0m0.015s |
2.py |
real 0m16.866suser 0m0.000ssys 0m0.015s |
Any suggestions and discussion are welcome through Issues.