Skip to content

Commit eae8770

Browse files
committed
Repo template
0 parents  commit eae8770

File tree

3 files changed

+90
-0
lines changed

3 files changed

+90
-0
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 Hugots
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# 🎅🏻Advent of Code 2024🎅🏻
2+
3+
This repository is to store all the solved problems of the [Advent of Code 2024](https://adventofcode.com/2024). This year I'm going to solve the odd problems using Python and the even ones using C++.
4+
5+
6+
## Usage
7+
8+
Each day indicates in the folder name the language used to solve the problem. For the python days, python3 have been used. To execute the python solutions:
9+
10+
```console
11+
python3 <scriptName>.py
12+
```
13+
14+
For the C++ solutions, Clang 14 for C++20 have been used. First, you need to compile and the run the executable.
15+
16+
```console
17+
clang++ -std=c++20 <sourceCodeName>.cpp -o <executableName>
18+
./executableName
19+
```
20+
21+
## Overview
22+
23+
| Day | Name | Stars |
24+
| --- | -------------- | ----- |
25+
| 01 | Historian Hysteria |⭐⭐|
26+
27+
## Goals for the next year
28+
29+
- TODO
30+
31+
## License
32+
33+
[MIT](https://choosealicense.com/licenses/mit/)
34+

template.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Day [X]: [First Part]()
2+
3+
## Problem Description
4+
(Summarize the problem in 1-2 sentences.)
5+
6+
---
7+
8+
## Solution
9+
10+
- **Approach:** (Briefly describe the main idea of the solution.)
11+
- **Time Complexity:** O(...)
12+
- **Space Complexity:** O(...)
13+
14+
---
15+
16+
## Notes
17+
(Any observations, challenges, or optimizations.)
18+
19+
# Day [X]: [Second Part]()
20+
21+
## Problem Description
22+
(Summarize the problem in 1-2 sentences.)
23+
24+
---
25+
26+
## Solution
27+
28+
- **Approach:** (Briefly describe the main idea of the solution.)
29+
- **Time Complexity:** O(...)
30+
- **Space Complexity:** O(...)
31+
32+
---
33+
34+
## Notes
35+
(Any observations, challenges, or optimizations.)

0 commit comments

Comments
 (0)