Prepare 2023 days.
This commit is contained in:
parent
869cd4477f
commit
825ebea299
13
2023/day10.py
Normal file
13
2023/day10.py
Normal file
@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from collections import defaultdict
|
||||
from dataclasses import dataclass
|
||||
|
||||
lines = sys.stdin.read().splitlines()
|
||||
|
||||
# part 1
|
||||
answer_1 = ...
|
||||
print(f"answer 1 is {answer_1}")
|
||||
|
||||
# part 2
|
||||
answer_2 = ...
|
||||
print(f"answer 2 is {answer_2}")
|
13
2023/day11.py
Normal file
13
2023/day11.py
Normal file
@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from collections import defaultdict
|
||||
from dataclasses import dataclass
|
||||
|
||||
lines = sys.stdin.read().splitlines()
|
||||
|
||||
# part 1
|
||||
answer_1 = ...
|
||||
print(f"answer 1 is {answer_1}")
|
||||
|
||||
# part 2
|
||||
answer_2 = ...
|
||||
print(f"answer 2 is {answer_2}")
|
13
2023/day12.py
Normal file
13
2023/day12.py
Normal file
@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from collections import defaultdict
|
||||
from dataclasses import dataclass
|
||||
|
||||
lines = sys.stdin.read().splitlines()
|
||||
|
||||
# part 1
|
||||
answer_1 = ...
|
||||
print(f"answer 1 is {answer_1}")
|
||||
|
||||
# part 2
|
||||
answer_2 = ...
|
||||
print(f"answer 2 is {answer_2}")
|
13
2023/day13.py
Normal file
13
2023/day13.py
Normal file
@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from collections import defaultdict
|
||||
from dataclasses import dataclass
|
||||
|
||||
lines = sys.stdin.read().splitlines()
|
||||
|
||||
# part 1
|
||||
answer_1 = ...
|
||||
print(f"answer 1 is {answer_1}")
|
||||
|
||||
# part 2
|
||||
answer_2 = ...
|
||||
print(f"answer 2 is {answer_2}")
|
13
2023/day14.py
Normal file
13
2023/day14.py
Normal file
@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from collections import defaultdict
|
||||
from dataclasses import dataclass
|
||||
|
||||
lines = sys.stdin.read().splitlines()
|
||||
|
||||
# part 1
|
||||
answer_1 = ...
|
||||
print(f"answer 1 is {answer_1}")
|
||||
|
||||
# part 2
|
||||
answer_2 = ...
|
||||
print(f"answer 2 is {answer_2}")
|
13
2023/day15.py
Normal file
13
2023/day15.py
Normal file
@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from collections import defaultdict
|
||||
from dataclasses import dataclass
|
||||
|
||||
lines = sys.stdin.read().splitlines()
|
||||
|
||||
# part 1
|
||||
answer_1 = ...
|
||||
print(f"answer 1 is {answer_1}")
|
||||
|
||||
# part 2
|
||||
answer_2 = ...
|
||||
print(f"answer 2 is {answer_2}")
|
13
2023/day16.py
Normal file
13
2023/day16.py
Normal file
@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from collections import defaultdict
|
||||
from dataclasses import dataclass
|
||||
|
||||
lines = sys.stdin.read().splitlines()
|
||||
|
||||
# part 1
|
||||
answer_1 = ...
|
||||
print(f"answer 1 is {answer_1}")
|
||||
|
||||
# part 2
|
||||
answer_2 = ...
|
||||
print(f"answer 2 is {answer_2}")
|
13
2023/day17.py
Normal file
13
2023/day17.py
Normal file
@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from collections import defaultdict
|
||||
from dataclasses import dataclass
|
||||
|
||||
lines = sys.stdin.read().splitlines()
|
||||
|
||||
# part 1
|
||||
answer_1 = ...
|
||||
print(f"answer 1 is {answer_1}")
|
||||
|
||||
# part 2
|
||||
answer_2 = ...
|
||||
print(f"answer 2 is {answer_2}")
|
13
2023/day18.py
Normal file
13
2023/day18.py
Normal file
@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from collections import defaultdict
|
||||
from dataclasses import dataclass
|
||||
|
||||
lines = sys.stdin.read().splitlines()
|
||||
|
||||
# part 1
|
||||
answer_1 = ...
|
||||
print(f"answer 1 is {answer_1}")
|
||||
|
||||
# part 2
|
||||
answer_2 = ...
|
||||
print(f"answer 2 is {answer_2}")
|
13
2023/day19.py
Normal file
13
2023/day19.py
Normal file
@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from collections import defaultdict
|
||||
from dataclasses import dataclass
|
||||
|
||||
lines = sys.stdin.read().splitlines()
|
||||
|
||||
# part 1
|
||||
answer_1 = ...
|
||||
print(f"answer 1 is {answer_1}")
|
||||
|
||||
# part 2
|
||||
answer_2 = ...
|
||||
print(f"answer 2 is {answer_2}")
|
13
2023/day20.py
Normal file
13
2023/day20.py
Normal file
@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from collections import defaultdict
|
||||
from dataclasses import dataclass
|
||||
|
||||
lines = sys.stdin.read().splitlines()
|
||||
|
||||
# part 1
|
||||
answer_1 = ...
|
||||
print(f"answer 1 is {answer_1}")
|
||||
|
||||
# part 2
|
||||
answer_2 = ...
|
||||
print(f"answer 2 is {answer_2}")
|
13
2023/day21.py
Normal file
13
2023/day21.py
Normal file
@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from collections import defaultdict
|
||||
from dataclasses import dataclass
|
||||
|
||||
lines = sys.stdin.read().splitlines()
|
||||
|
||||
# part 1
|
||||
answer_1 = ...
|
||||
print(f"answer 1 is {answer_1}")
|
||||
|
||||
# part 2
|
||||
answer_2 = ...
|
||||
print(f"answer 2 is {answer_2}")
|
13
2023/day22.py
Normal file
13
2023/day22.py
Normal file
@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from collections import defaultdict
|
||||
from dataclasses import dataclass
|
||||
|
||||
lines = sys.stdin.read().splitlines()
|
||||
|
||||
# part 1
|
||||
answer_1 = ...
|
||||
print(f"answer 1 is {answer_1}")
|
||||
|
||||
# part 2
|
||||
answer_2 = ...
|
||||
print(f"answer 2 is {answer_2}")
|
13
2023/day23.py
Normal file
13
2023/day23.py
Normal file
@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from collections import defaultdict
|
||||
from dataclasses import dataclass
|
||||
|
||||
lines = sys.stdin.read().splitlines()
|
||||
|
||||
# part 1
|
||||
answer_1 = ...
|
||||
print(f"answer 1 is {answer_1}")
|
||||
|
||||
# part 2
|
||||
answer_2 = ...
|
||||
print(f"answer 2 is {answer_2}")
|
13
2023/day24.py
Normal file
13
2023/day24.py
Normal file
@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from collections import defaultdict
|
||||
from dataclasses import dataclass
|
||||
|
||||
lines = sys.stdin.read().splitlines()
|
||||
|
||||
# part 1
|
||||
answer_1 = ...
|
||||
print(f"answer 1 is {answer_1}")
|
||||
|
||||
# part 2
|
||||
answer_2 = ...
|
||||
print(f"answer 2 is {answer_2}")
|
13
2023/day25.py
Normal file
13
2023/day25.py
Normal file
@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from collections import defaultdict
|
||||
from dataclasses import dataclass
|
||||
|
||||
lines = sys.stdin.read().splitlines()
|
||||
|
||||
# part 1
|
||||
answer_1 = ...
|
||||
print(f"answer 1 is {answer_1}")
|
||||
|
||||
# part 2
|
||||
answer_2 = ...
|
||||
print(f"answer 2 is {answer_2}")
|
13
2023/day5.py
Normal file
13
2023/day5.py
Normal file
@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from collections import defaultdict
|
||||
from dataclasses import dataclass
|
||||
|
||||
lines = sys.stdin.read().splitlines()
|
||||
|
||||
# part 1
|
||||
answer_1 = ...
|
||||
print(f"answer 1 is {answer_1}")
|
||||
|
||||
# part 2
|
||||
answer_2 = ...
|
||||
print(f"answer 2 is {answer_2}")
|
13
2023/day6.py
Normal file
13
2023/day6.py
Normal file
@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from collections import defaultdict
|
||||
from dataclasses import dataclass
|
||||
|
||||
lines = sys.stdin.read().splitlines()
|
||||
|
||||
# part 1
|
||||
answer_1 = ...
|
||||
print(f"answer 1 is {answer_1}")
|
||||
|
||||
# part 2
|
||||
answer_2 = ...
|
||||
print(f"answer 2 is {answer_2}")
|
13
2023/day7.py
Normal file
13
2023/day7.py
Normal file
@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from collections import defaultdict
|
||||
from dataclasses import dataclass
|
||||
|
||||
lines = sys.stdin.read().splitlines()
|
||||
|
||||
# part 1
|
||||
answer_1 = ...
|
||||
print(f"answer 1 is {answer_1}")
|
||||
|
||||
# part 2
|
||||
answer_2 = ...
|
||||
print(f"answer 2 is {answer_2}")
|
13
2023/day8.py
Normal file
13
2023/day8.py
Normal file
@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from collections import defaultdict
|
||||
from dataclasses import dataclass
|
||||
|
||||
lines = sys.stdin.read().splitlines()
|
||||
|
||||
# part 1
|
||||
answer_1 = ...
|
||||
print(f"answer 1 is {answer_1}")
|
||||
|
||||
# part 2
|
||||
answer_2 = ...
|
||||
print(f"answer 2 is {answer_2}")
|
13
2023/day9.py
Normal file
13
2023/day9.py
Normal file
@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from collections import defaultdict
|
||||
from dataclasses import dataclass
|
||||
|
||||
lines = sys.stdin.read().splitlines()
|
||||
|
||||
# part 1
|
||||
answer_1 = ...
|
||||
print(f"answer 1 is {answer_1}")
|
||||
|
||||
# part 2
|
||||
answer_2 = ...
|
||||
print(f"answer 2 is {answer_2}")
|
0
2023/inputs/day10.txt
Normal file
0
2023/inputs/day10.txt
Normal file
0
2023/inputs/day11.txt
Normal file
0
2023/inputs/day11.txt
Normal file
0
2023/inputs/day12.txt
Normal file
0
2023/inputs/day12.txt
Normal file
0
2023/inputs/day13.txt
Normal file
0
2023/inputs/day13.txt
Normal file
0
2023/inputs/day14.txt
Normal file
0
2023/inputs/day14.txt
Normal file
0
2023/inputs/day15.txt
Normal file
0
2023/inputs/day15.txt
Normal file
0
2023/inputs/day16.txt
Normal file
0
2023/inputs/day16.txt
Normal file
0
2023/inputs/day17.txt
Normal file
0
2023/inputs/day17.txt
Normal file
0
2023/inputs/day18.txt
Normal file
0
2023/inputs/day18.txt
Normal file
0
2023/inputs/day19.txt
Normal file
0
2023/inputs/day19.txt
Normal file
0
2023/inputs/day20.txt
Normal file
0
2023/inputs/day20.txt
Normal file
0
2023/inputs/day21.txt
Normal file
0
2023/inputs/day21.txt
Normal file
0
2023/inputs/day22.txt
Normal file
0
2023/inputs/day22.txt
Normal file
0
2023/inputs/day23.txt
Normal file
0
2023/inputs/day23.txt
Normal file
0
2023/inputs/day24.txt
Normal file
0
2023/inputs/day24.txt
Normal file
0
2023/inputs/day25.txt
Normal file
0
2023/inputs/day25.txt
Normal file
0
2023/inputs/day6.txt
Normal file
0
2023/inputs/day6.txt
Normal file
0
2023/inputs/day7.txt
Normal file
0
2023/inputs/day7.txt
Normal file
0
2023/inputs/day8.txt
Normal file
0
2023/inputs/day8.txt
Normal file
0
2023/inputs/day9.txt
Normal file
0
2023/inputs/day9.txt
Normal file
0
2023/tests/day10.txt
Normal file
0
2023/tests/day10.txt
Normal file
0
2023/tests/day11.txt
Normal file
0
2023/tests/day11.txt
Normal file
0
2023/tests/day12.txt
Normal file
0
2023/tests/day12.txt
Normal file
0
2023/tests/day13.txt
Normal file
0
2023/tests/day13.txt
Normal file
0
2023/tests/day14.txt
Normal file
0
2023/tests/day14.txt
Normal file
0
2023/tests/day15.txt
Normal file
0
2023/tests/day15.txt
Normal file
0
2023/tests/day16.txt
Normal file
0
2023/tests/day16.txt
Normal file
0
2023/tests/day17.txt
Normal file
0
2023/tests/day17.txt
Normal file
0
2023/tests/day18.txt
Normal file
0
2023/tests/day18.txt
Normal file
0
2023/tests/day19.txt
Normal file
0
2023/tests/day19.txt
Normal file
0
2023/tests/day20.txt
Normal file
0
2023/tests/day20.txt
Normal file
0
2023/tests/day21.txt
Normal file
0
2023/tests/day21.txt
Normal file
0
2023/tests/day22.txt
Normal file
0
2023/tests/day22.txt
Normal file
0
2023/tests/day23.txt
Normal file
0
2023/tests/day23.txt
Normal file
0
2023/tests/day24.txt
Normal file
0
2023/tests/day24.txt
Normal file
0
2023/tests/day25.txt
Normal file
0
2023/tests/day25.txt
Normal file
0
2023/tests/day6.txt
Normal file
0
2023/tests/day6.txt
Normal file
0
2023/tests/day7.txt
Normal file
0
2023/tests/day7.txt
Normal file
0
2023/tests/day8.txt
Normal file
0
2023/tests/day8.txt
Normal file
0
2023/tests/day9.txt
Normal file
0
2023/tests/day9.txt
Normal file
Loading…
Reference in New Issue
Block a user