Skip to content

Commit 5a71694

Browse files
committed
used languages
1 parent 6ad32a8 commit 5a71694

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.assets/ruby.png

1.32 KB
Loading

2024/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99

1010
Puzzle | Stars | Languages
1111
---------------------------------------------------------------- | ----- | -----------
12-
[Day 1: Historian Hysteria](https://adventofcode.com/2024/day/1) | ⭐⭐ | [Rust](../2024/day1/day1.rs) [Python](../2024/day1/day1.py)
12+
[Day 1: Historian Hysteria](https://adventofcode.com/2024/day/1) | ⭐⭐ | [Rust](../2024/day1/day1.rs) [Python](../2024/day1/day1.py) [C](../2024/day1/day1.c) [![Ruby](../.assets/ruby.png)](../2024/day1/day1.rb) [JS](../2024/day1/day1.js) [C#](../2024/day1/day1.cs)
1313
[Day 2: Red-Nosed Reports](https://adventofcode.com/2024/day/2) | ⭐⭐ | [Rust](../2024/day2/day2.rs) [Python](../2024/day2/day2.py)

scripts/answers.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,10 @@ def readme(_self, year, _day):
525525
files = []
526526
files.extend(f"[Rust](../{year}/{f.relative_to(year_dir)})" for f in sols if f.suffix == ".rs")
527527
files.extend(f"[Python](../{year}/{f.relative_to(year_dir)})" for f in sols if f.suffix == ".py")
528+
files.extend(f"[C](../{year}/{f.relative_to(year_dir)})" for f in sols if f.suffix == ".c")
529+
files.extend(f"[![Ruby](.assets/ruby.png)](../{year}/{f.relative_to(year_dir)})" for f in sols if f.suffix == ".rb")
530+
files.extend(f"[JS](../{year}/{f.relative_to(year_dir)})" for f in sols if f.suffix == ".js")
531+
files.extend(f"[C#](../{year}/{f.relative_to(year_dir)})" for f in sols if f.suffix == ".cs")
528532
files = " ".join(files)
529533

530534
md.append(f"{title:<{width}} | {stars:<2} | {files}")

0 commit comments

Comments
 (0)