formatted readme
This commit is contained in:
17
README.md
17
README.md
@@ -1,10 +1,11 @@
|
|||||||
# Advent of code 2025
|
# Advent of Code 2025
|
||||||
```day01:A => 1150 ( 283us)
|
```bash
|
||||||
day01:B => 6738 ( 100us)
|
day01:A => 1150 ( 72us)
|
||||||
day02:A => 31839939622 ( 8230us)
|
day01:B => 6738 ( 98us)
|
||||||
day02:B => 41662374059 ( 64586us)
|
day02:A => 31839939622 ( 8141us)
|
||||||
day03:A => 16812 ( 1506us)
|
day02:B => 41662374059 ( 64109us)
|
||||||
day03:B => 166345822896410 ( 322us)
|
day03:A => 16812 ( 152us)
|
||||||
|
day03:B => 166345822896410 ( 298us)
|
||||||
----------
|
----------
|
||||||
75267us
|
72992us
|
||||||
```
|
```
|
||||||
@@ -15,7 +15,7 @@ fn main() {
|
|||||||
.truncate(true) // Clear the file if it already exists
|
.truncate(true) // Clear the file if it already exists
|
||||||
.open("README.md").expect("Cannot open or create file");
|
.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![
|
let exercises: Vec<(&str, fn () -> u64)> = vec![
|
||||||
("day01:A", part01a::solve),
|
("day01:A", part01a::solve),
|
||||||
|
|||||||
Reference in New Issue
Block a user