Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Advent of Code 2022
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jason Heard
Advent of Code 2022
Commits
417acc8f
Commit
417acc8f
authored
2 years ago
by
Jason Heard
Committed by
Jason Heard
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add project readme and license
parent
c0b0adfe
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
LICENSE
+21
-0
21 additions, 0 deletions
LICENSE
README.md
+37
-0
37 additions, 0 deletions
README.md
with
58 additions
and
0 deletions
LICENSE
0 → 100644
+
21
−
0
View file @
417acc8f
MIT License
Copyright (c) 2022 Jason Heard
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
This diff is collapsed.
Click to expand it.
README.md
0 → 100644
+
37
−
0
View file @
417acc8f
# Advent of Code 2022
Solutions to the
[
Advent of Code 2022
](
http://adventofcode.com/2022
)
using Rust.
## Dependencies
This project uses Rust and so it should work on
[
any supported
platform
](
https://doc.rust-lang.org/rustc/platform-support.html
)
.
Required tools:
-
`cargo`
is the package management and build tool for Rust. Instructions for
installing it along with all required Rust componentss are
[
here
](
https://www.rust-lang.org/tools/install
)
. The quick version is to get
[
rustup
](
https://rustup.rs/
)
and run it.
## Running
To run the project:
1.
Install
`cargo`
and Rust.
1.
Download the code.
1.
Execute
`cargo run -p dayNN`
where
`NN`
is the day you want to run.
-
You can see the simple results (the usually included inline example) via
`cargo run -p dayNN -- --simple`
-
Tests of the simple cases (and sometimes others) can be run with
`cargo test`
.
## Other Years' Solutions
Here are the links to my solutions for all of the years I have participated:
-
[
2017
](
https://github.com/101100/AdventOfCode2017
)
-
[
2018
](
https://github.com/101100/AdventOfCode2018
)
-
[
2019
](
https://gitlab.101100.ca/101100/adventofcode2019
)
-
[
2020
](
https://gitlab.101100.ca/101100/adventofcode2020
)
-
[
2021
](
https://gitlab.101100.ca/101100/adventofcode2021
)
-
[
2022
](
https://gitlab.101100.ca/101100/adventofcode2022
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment