Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thexhr/advent-of-code
Code to solve "advent of code"
https://github.com/thexhr/advent-of-code
advent-of-code-2021 advent-of-code-2022 c
Last synced: 1 day ago
JSON representation
Code to solve "advent of code"
- Host: GitHub
- URL: https://github.com/thexhr/advent-of-code
- Owner: thexhr
- License: other
- Created: 2022-12-19T12:03:53.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-08T12:38:45.000Z (about 1 month ago)
- Last Synced: 2024-12-08T13:32:24.079Z (about 1 month ago)
- Topics: advent-of-code-2021, advent-of-code-2022, c
- Language: C
- Homepage:
- Size: 66.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Adevent of Code
Code I wrote for the Advent of Code - https://adventofcode.com/
Code is public domain, so use as you wish.
## C
*NOTE* You might find dragons in the code! This is ugly, insecure and usafe C code. I just hacked the advent for code for fun, not to write clean and secure code!
If you're on a BSD you can compile the code with
```
make foo
```where foo is the name of the C file without the ending. Otherwise,
compile it as follows:```
$ cc -Wall -Wextra foo.c
$ ./a.out
```## Go
Several solutions are written in go. To run
```
$ go run 1.go
```