change lang

This commit is contained in:
matthias@arch 2023-12-09 13:50:09 +01:00
parent 193ef004d4
commit 436e7c6cef

View File

@ -1,12 +1,14 @@
# [Day 1](https://adventofcode.com/2022/day/1) # [Day 1](https://adventofcode.com/2022/day/1)
:gift: :gift:
Today's language: **awk** + **GNU-coretils** Today's language: **Awk + Bash**
Lines of code: **2** Lines of code: **2**
Execution time: **0,0011 s** Execution time: **0,0011 s**
<!-- one-liners -->
- Task 1: We use awk to find the maximum while we iterate through the file - Task 1: We use awk to find the maximum while we iterate through the file
- Task 2: We use awk again for summing the calories, then sort them and take the top 3 which we again sum up with awk - Task 2: We use awk again for summing the calories, then sort them and take the top 3 which we again sum up with awk
```shell ```shell