mirror of
https://github.com/ZeusWPI/Advent-of-Code-Aggregator.git
synced 2024-11-14 03:54:26 +01:00
Booboo fixed?
This commit is contained in:
parent
708c4f6b7f
commit
ab27e0096c
9 changed files with 4 additions and 3376 deletions
4
.gitmodules
vendored
4
.gitmodules
vendored
|
@ -89,6 +89,6 @@
|
|||
[submodule "2021/Bond-009"]
|
||||
path = 2021/Bond-009
|
||||
url = https://github.com/Bond-009/advent-of-code-2021
|
||||
[submodule "Timpy"]
|
||||
path = Timpy
|
||||
[submodule "2021/Timpy"]
|
||||
path = 2021/Timpy
|
||||
url = https://github.com/timodw/aoc_2021
|
||||
|
|
1
2021/Timpy
Submodule
1
2021/Timpy
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit d369b74738ac84d6742cd1b49854fd57d1ba01b2
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,10 +0,0 @@
|
|||
199
|
||||
200
|
||||
208
|
||||
210
|
||||
200
|
||||
207
|
||||
240
|
||||
269
|
||||
260
|
||||
263
|
|
@ -1,144 +0,0 @@
|
|||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"# Imports"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import numpy as np\n",
|
||||
"from time import time"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"# Load input"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 2,
|
||||
"metadata": {
|
||||
"scrolled": true
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"#INPUT_FILE = 'test.txt'\n",
|
||||
"INPUT_FILE = 'input.txt'"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"metadata": {
|
||||
"scrolled": true
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"input_list = None\n",
|
||||
"input_list"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"input_list_np = None\n",
|
||||
"input_list_np"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"# Part 1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 5,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"SOLUTION: None, TIME: 0.056ms\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"start_t = time()\n",
|
||||
"solution = None\n",
|
||||
"end_t = time()\n",
|
||||
"print(f'SOLUTION: {solution}, TIME: {round((end_t - start_t) * 1000, 4)}ms')"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"# Part 2"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 7,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"SOLUTION: None, TIME: 0.0641ms\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"start_t = time()\n",
|
||||
"solution = None\n",
|
||||
"end_t = time()\n",
|
||||
"print(f'SOLUTION: {solution}, TIME: {round((end_t - start_t) * 1000, 4)}ms')"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
"language_info": {
|
||||
"codemirror_mode": {
|
||||
"name": "ipython",
|
||||
"version": 3
|
||||
},
|
||||
"file_extension": ".py",
|
||||
"mimetype": "text/x-python",
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.8.5"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 4
|
||||
}
|
|
@ -1 +1 @@
|
|||
Subproject commit 0566593e718c480dc37262326dd4de868b8759bc
|
||||
Subproject commit 28ad9f03cf773f8a729e2a307e34157123b36483
|
Loading…
Reference in a new issue