formatted readme

This commit is contained in:
2025-12-04 02:07:25 +01:00
parent b8c86e212e
commit 30f00bc08b
2 changed files with 10 additions and 9 deletions

View File

@@ -1,10 +1,11 @@
# Advent of code 2025
```day01:A => 1150 ( 283us)
day01:B => 6738 ( 100us)
day02:A => 31839939622 ( 8230us)
day02:B => 41662374059 ( 64586us)
day03:A => 16812 ( 1506us)
day03:B => 166345822896410 ( 322us)
# Advent of Code 2025
```bash
day01:A => 1150 ( 72us)
day01:B => 6738 ( 98us)
day02:A => 31839939622 ( 8141us)
day02:B => 41662374059 ( 64109us)
day03:A => 16812 ( 152us)
day03:B => 166345822896410 ( 298us)
----------
75267us
72992us
```

View File

@@ -15,7 +15,7 @@ fn main() {
.truncate(true) // Clear the file if it already exists
.open("README.md").expect("Cannot open or create file");
file.write_all(b"# Advent of Code 2025\n```").expect("Cannot write to file");
file.write_all(b"# Advent of Code 2025\n```bash\n").expect("Cannot write to file");
let exercises: Vec<(&str, fn () -> u64)> = vec![
("day01:A", part01a::solve),