From 3e40017c5e856fbbc33bbdd53a9a8e1d2b02abd8 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Fri, 28 Nov 2025 14:55:40 +0100 Subject: Set up for 2025 --- 2025/01/a.py | 6 ++++++ 2025/02/a.py | 6 ++++++ 2025/03/a.py | 6 ++++++ 2025/04/a.py | 6 ++++++ 2025/05/a.py | 6 ++++++ 2025/06/a.py | 6 ++++++ 2025/07/a.py | 6 ++++++ 2025/08/a.py | 6 ++++++ 2025/09/a.py | 6 ++++++ 2025/10/a.py | 6 ++++++ 2025/11/a.py | 6 ++++++ 2025/12/a.py | 6 ++++++ 2025/README.md | 8 ++++++++ README.md | 1 + 14 files changed, 81 insertions(+) create mode 100644 2025/01/a.py create mode 100644 2025/02/a.py create mode 100644 2025/03/a.py create mode 100644 2025/04/a.py create mode 100644 2025/05/a.py create mode 100644 2025/06/a.py create mode 100644 2025/07/a.py create mode 100644 2025/08/a.py create mode 100644 2025/09/a.py create mode 100644 2025/10/a.py create mode 100644 2025/11/a.py create mode 100644 2025/12/a.py create mode 100644 2025/README.md diff --git a/2025/01/a.py b/2025/01/a.py new file mode 100644 index 0000000..5fdb11b --- /dev/null +++ b/2025/01/a.py @@ -0,0 +1,6 @@ +import fileinput + +with fileinput.input() as lines: + for line in lines: + ... + diff --git a/2025/02/a.py b/2025/02/a.py new file mode 100644 index 0000000..5fdb11b --- /dev/null +++ b/2025/02/a.py @@ -0,0 +1,6 @@ +import fileinput + +with fileinput.input() as lines: + for line in lines: + ... + diff --git a/2025/03/a.py b/2025/03/a.py new file mode 100644 index 0000000..5fdb11b --- /dev/null +++ b/2025/03/a.py @@ -0,0 +1,6 @@ +import fileinput + +with fileinput.input() as lines: + for line in lines: + ... + diff --git a/2025/04/a.py b/2025/04/a.py new file mode 100644 index 0000000..5fdb11b --- /dev/null +++ b/2025/04/a.py @@ -0,0 +1,6 @@ +import fileinput + +with fileinput.input() as lines: + for line in lines: + ... + diff --git a/2025/05/a.py b/2025/05/a.py new file mode 100644 index 0000000..5fdb11b --- /dev/null +++ b/2025/05/a.py @@ -0,0 +1,6 @@ +import fileinput + +with fileinput.input() as lines: + for line in lines: + ... + diff --git a/2025/06/a.py b/2025/06/a.py new file mode 100644 index 0000000..5fdb11b --- /dev/null +++ b/2025/06/a.py @@ -0,0 +1,6 @@ +import fileinput + +with fileinput.input() as lines: + for line in lines: + ... + diff --git a/2025/07/a.py b/2025/07/a.py new file mode 100644 index 0000000..5fdb11b --- /dev/null +++ b/2025/07/a.py @@ -0,0 +1,6 @@ +import fileinput + +with fileinput.input() as lines: + for line in lines: + ... + diff --git a/2025/08/a.py b/2025/08/a.py new file mode 100644 index 0000000..5fdb11b --- /dev/null +++ b/2025/08/a.py @@ -0,0 +1,6 @@ +import fileinput + +with fileinput.input() as lines: + for line in lines: + ... + diff --git a/2025/09/a.py b/2025/09/a.py new file mode 100644 index 0000000..5fdb11b --- /dev/null +++ b/2025/09/a.py @@ -0,0 +1,6 @@ +import fileinput + +with fileinput.input() as lines: + for line in lines: + ... + diff --git a/2025/10/a.py b/2025/10/a.py new file mode 100644 index 0000000..5fdb11b --- /dev/null +++ b/2025/10/a.py @@ -0,0 +1,6 @@ +import fileinput + +with fileinput.input() as lines: + for line in lines: + ... + diff --git a/2025/11/a.py b/2025/11/a.py new file mode 100644 index 0000000..5fdb11b --- /dev/null +++ b/2025/11/a.py @@ -0,0 +1,6 @@ +import fileinput + +with fileinput.input() as lines: + for line in lines: + ... + diff --git a/2025/12/a.py b/2025/12/a.py new file mode 100644 index 0000000..5fdb11b --- /dev/null +++ b/2025/12/a.py @@ -0,0 +1,6 @@ +import fileinput + +with fileinput.input() as lines: + for line in lines: + ... + diff --git a/2025/README.md b/2025/README.md new file mode 100644 index 0000000..ece1c89 --- /dev/null +++ b/2025/README.md @@ -0,0 +1,8 @@ +# Advent of Code 2025 + +Run with Python. Input is read from the file given as argument, or +from standard input if no argument is provided. + +Example + +`python 01/a.py 01/input.txt` diff --git a/README.md b/README.md index c573c44..08c0c6b 100644 --- a/README.md +++ b/README.md @@ -14,3 +14,4 @@ See `year/README.md` for instructions on how to run my code. |2022| 50 | Rust | Done in 2025 to learn Rust | |2023| 50 | C | All solved by December 25, 2023 | |2024| 50 | C++ | Each solved within 24h | +|2025| - | Python | Coming soon... | -- cgit v1.3