diff --git a/cpp/CMakeLists.txt b/2022/cpp/CMakeLists.txt similarity index 100% rename from cpp/CMakeLists.txt rename to 2022/cpp/CMakeLists.txt diff --git a/cpp/day1/src/main.cpp b/2022/cpp/day1/src/main.cpp similarity index 100% rename from cpp/day1/src/main.cpp rename to 2022/cpp/day1/src/main.cpp diff --git a/cpp/run.bat b/2022/cpp/run.bat similarity index 100% rename from cpp/run.bat rename to 2022/cpp/run.bat diff --git a/cpp/run.sh b/2022/cpp/run.sh similarity index 100% rename from cpp/run.sh rename to 2022/cpp/run.sh diff --git a/rust/day1/Cargo.lock b/2022/rust/day1/Cargo.lock similarity index 100% rename from rust/day1/Cargo.lock rename to 2022/rust/day1/Cargo.lock diff --git a/rust/day1/Cargo.toml b/2022/rust/day1/Cargo.toml similarity index 100% rename from rust/day1/Cargo.toml rename to 2022/rust/day1/Cargo.toml diff --git a/rust/day1/elves b/2022/rust/day1/elves similarity index 100% rename from rust/day1/elves rename to 2022/rust/day1/elves diff --git a/rust/day1/src/elves.rs b/2022/rust/day1/src/elves.rs similarity index 100% rename from rust/day1/src/elves.rs rename to 2022/rust/day1/src/elves.rs diff --git a/rust/day1/src/main.rs b/2022/rust/day1/src/main.rs similarity index 100% rename from rust/day1/src/main.rs rename to 2022/rust/day1/src/main.rs diff --git a/rust/day2/Cargo.lock b/2022/rust/day2/Cargo.lock similarity index 100% rename from rust/day2/Cargo.lock rename to 2022/rust/day2/Cargo.lock diff --git a/rust/day2/Cargo.toml b/2022/rust/day2/Cargo.toml similarity index 100% rename from rust/day2/Cargo.toml rename to 2022/rust/day2/Cargo.toml diff --git a/rust/day2/input b/2022/rust/day2/input similarity index 100% rename from rust/day2/input rename to 2022/rust/day2/input diff --git a/rust/day2/src/main.rs b/2022/rust/day2/src/main.rs similarity index 100% rename from rust/day2/src/main.rs rename to 2022/rust/day2/src/main.rs diff --git a/rust/day2/src/rps.rs b/2022/rust/day2/src/rps.rs similarity index 100% rename from rust/day2/src/rps.rs rename to 2022/rust/day2/src/rps.rs diff --git a/rust/day3/Cargo.lock b/2022/rust/day3/Cargo.lock similarity index 100% rename from rust/day3/Cargo.lock rename to 2022/rust/day3/Cargo.lock diff --git a/rust/day3/Cargo.toml b/2022/rust/day3/Cargo.toml similarity index 100% rename from rust/day3/Cargo.toml rename to 2022/rust/day3/Cargo.toml diff --git a/rust/day3/exemple b/2022/rust/day3/exemple similarity index 100% rename from rust/day3/exemple rename to 2022/rust/day3/exemple diff --git a/rust/day3/input b/2022/rust/day3/input similarity index 100% rename from rust/day3/input rename to 2022/rust/day3/input diff --git a/rust/day3/src/main.rs b/2022/rust/day3/src/main.rs similarity index 100% rename from rust/day3/src/main.rs rename to 2022/rust/day3/src/main.rs diff --git a/rust/day4/Cargo.lock b/2022/rust/day4/Cargo.lock similarity index 100% rename from rust/day4/Cargo.lock rename to 2022/rust/day4/Cargo.lock diff --git a/rust/day4/Cargo.toml b/2022/rust/day4/Cargo.toml similarity index 100% rename from rust/day4/Cargo.toml rename to 2022/rust/day4/Cargo.toml diff --git a/rust/day4/exemple b/2022/rust/day4/exemple similarity index 100% rename from rust/day4/exemple rename to 2022/rust/day4/exemple diff --git a/rust/day4/input b/2022/rust/day4/input similarity index 100% rename from rust/day4/input rename to 2022/rust/day4/input diff --git a/rust/day4/src/main.rs b/2022/rust/day4/src/main.rs similarity index 100% rename from rust/day4/src/main.rs rename to 2022/rust/day4/src/main.rs diff --git a/rust/day5/Cargo.lock b/2022/rust/day5/Cargo.lock similarity index 100% rename from rust/day5/Cargo.lock rename to 2022/rust/day5/Cargo.lock diff --git a/rust/day5/Cargo.toml b/2022/rust/day5/Cargo.toml similarity index 100% rename from rust/day5/Cargo.toml rename to 2022/rust/day5/Cargo.toml diff --git a/rust/day5/exemple b/2022/rust/day5/exemple similarity index 100% rename from rust/day5/exemple rename to 2022/rust/day5/exemple diff --git a/rust/day5/input b/2022/rust/day5/input similarity index 100% rename from rust/day5/input rename to 2022/rust/day5/input diff --git a/rust/day5/src/main.rs b/2022/rust/day5/src/main.rs similarity index 100% rename from rust/day5/src/main.rs rename to 2022/rust/day5/src/main.rs diff --git a/rust/day6/Cargo.lock b/2022/rust/day6/Cargo.lock similarity index 100% rename from rust/day6/Cargo.lock rename to 2022/rust/day6/Cargo.lock diff --git a/rust/day6/Cargo.toml b/2022/rust/day6/Cargo.toml similarity index 100% rename from rust/day6/Cargo.toml rename to 2022/rust/day6/Cargo.toml diff --git a/rust/day6/exemple b/2022/rust/day6/exemple similarity index 100% rename from rust/day6/exemple rename to 2022/rust/day6/exemple diff --git a/rust/day6/input b/2022/rust/day6/input similarity index 100% rename from rust/day6/input rename to 2022/rust/day6/input diff --git a/rust/day6/src/main.rs b/2022/rust/day6/src/main.rs similarity index 100% rename from rust/day6/src/main.rs rename to 2022/rust/day6/src/main.rs diff --git a/rust/day7/Cargo.lock b/2022/rust/day7/Cargo.lock similarity index 100% rename from rust/day7/Cargo.lock rename to 2022/rust/day7/Cargo.lock diff --git a/rust/day7/Cargo.toml b/2022/rust/day7/Cargo.toml similarity index 100% rename from rust/day7/Cargo.toml rename to 2022/rust/day7/Cargo.toml diff --git a/rust/day7/exemple b/2022/rust/day7/exemple similarity index 100% rename from rust/day7/exemple rename to 2022/rust/day7/exemple diff --git a/rust/day7/input b/2022/rust/day7/input similarity index 100% rename from rust/day7/input rename to 2022/rust/day7/input diff --git a/rust/day7/maybe/maybe.rs b/2022/rust/day7/maybe/maybe.rs similarity index 100% rename from rust/day7/maybe/maybe.rs rename to 2022/rust/day7/maybe/maybe.rs diff --git a/rust/day7/src/main.rs b/2022/rust/day7/src/main.rs similarity index 100% rename from rust/day7/src/main.rs rename to 2022/rust/day7/src/main.rs diff --git a/rust/day7/src/system.rs b/2022/rust/day7/src/system.rs similarity index 100% rename from rust/day7/src/system.rs rename to 2022/rust/day7/src/system.rs diff --git a/2023/rust/day1/Cargo.lock b/2023/rust/day1/Cargo.lock new file mode 100644 index 0000000..ae5bfe8 --- /dev/null +++ b/2023/rust/day1/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "day1" +version = "0.1.0" diff --git a/2023/rust/day1/Cargo.toml b/2023/rust/day1/Cargo.toml new file mode 100644 index 0000000..a3c4e52 --- /dev/null +++ b/2023/rust/day1/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "day1" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/2023/rust/day1/src/main.rs b/2023/rust/day1/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/2023/rust/day1/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}