Compare commits
No commits in common. "abadbf2b71c56ab94c4727be90342afa25c8f498" and "193ef004d4c380b8f1edf21c609dd184101fb888" have entirely different histories.
abadbf2b71
...
193ef004d4
@ -1,14 +1,12 @@
|
|||||||
# [Day 1](https://adventofcode.com/2022/day/1)
|
# [Day 1](https://adventofcode.com/2022/day/1)
|
||||||
:gift:
|
:gift:
|
||||||
|
|
||||||
Today's language: **Awk + Bash**
|
Today's language: **awk** + **GNU-coretils**
|
||||||
|
|
||||||
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
|
||||||
|
28
README.md
28
README.md
@ -11,27 +11,26 @@ The directories for each day contain my input file, my code and a README that sh
|
|||||||
These are the days with to most interesting code so far:
|
These are the days with to most interesting code so far:
|
||||||
1. **day 13**: *HolyC* on a TempleOS virtual machine
|
1. **day 13**: *HolyC* on a TempleOS virtual machine
|
||||||
2. **day 4**: *x86-64 assembly* with the help of ChatGPT
|
2. **day 4**: *x86-64 assembly* with the help of ChatGPT
|
||||||
3. **day 6**: *html+javascript* <!-- [check it out here](https://quintern.xyz/advent22/day6.html) -->
|
3. **day 6**: *html+javascript* [check it out here](https://quintern.xyz/advent22/day6.html)
|
||||||
4. **day 7**: *awk+bash*
|
4. **day 7**: *awk+bash*
|
||||||
|
|
||||||
Also, check out the repositories of my friends who do stuff in go, Visual Basic, php and many other languages!
|
Also, check out the repositories of my friends who do stuff in go, Visual Basic, php and many other languages!
|
||||||
- [Daniel](https://git.quintern.xyz/TheShinyMelon/AOC_2022)
|
- [Daniel](https://git.quintern.xyz/TheShinyMelon/AOC_2022)
|
||||||
- [Jonas](https://github.com/JonasBordewick/advent_of_code_2022)
|
- [Jonas](https://github.com/JonasBordewick/advent_of_code_2022)
|
||||||
|
|
||||||
<!-- ## Language - Day -->
|
## Language - Day
|
||||||
<!-- - **Awk**: day 1, 7 -->
|
- **Awk**: day 1, 7
|
||||||
<!-- - **Assembly, x86-64**: day 4 -->
|
- **Assembly, x86-64**: day 4
|
||||||
<!-- - **Bash**: day 1, 7 -->
|
- **Bash**: day 1, 7
|
||||||
<!-- - **C**: day 3, 4, 15 -->
|
- **C**: day 3, 4, 15
|
||||||
<!-- - **C++**: day 2, 8, 12, 14 -->
|
- **C++**: day 2, 8, 12, 14
|
||||||
<!-- - **HolyC:** day 13 -->
|
- **HolyC:** day 13
|
||||||
<!-- - **Java**: day 10 -->
|
- **Java**: day 10
|
||||||
<!-- - **Javascript**: day 6 -->
|
- **Javascript**: day 6
|
||||||
<!-- - **php**: day 9 -->
|
- **php**: day 9
|
||||||
<!-- - **Python**: day 5, 11 -->
|
- **Python**: day 5, 11
|
||||||
<!-- - **VIM-Script**: day 4 -->
|
- **VIM-Script**: day 4
|
||||||
|
|
||||||
## Overview
|
|
||||||
<!-- table begin -->
|
<!-- table begin -->
|
||||||
| Day | Language | Lines of code | Execuction time | Comment |
|
| Day | Language | Lines of code | Execuction time | Comment |
|
||||||
|:---: |:---: | ---: | ---: |--- |
|
|:---: |:---: | ---: | ---: |--- |
|
||||||
@ -50,6 +49,7 @@ Also, check out the repositories of my friends who do stuff in go, Visual Basic,
|
|||||||
| [13](13) | HolyC | 228 | < 0,500 s | yes, coded in HolyC on TempleOS |
|
| [13](13) | HolyC | 228 | < 0,500 s | yes, coded in HolyC on TempleOS |
|
||||||
| [14](14) | C++ | 113 | 0,085 s | |
|
| [14](14) | C++ | 113 | 0,085 s | |
|
||||||
| [15](15) | C | 98 | 0,801 s | |
|
| [15](15) | C | 98 | 0,801 s | |
|
||||||
|
| [16](16) | | | | |
|
||||||
|
|
||||||
Lines of code are without blank lines and comments
|
Lines of code are without blank lines and comments
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user