Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

day 01 #1

Merged
merged 5 commits into from
Dec 1, 2023
Merged

day 01 #1

merged 5 commits into from
Dec 1, 2023

Conversation

carstenbauer
Copy link
Contributor

@carstenbauer carstenbauer commented Dec 1, 2023

  • Part 1
  • Part 2

Note:

  • Seems like runtests.jl expects a solution for all languages? I only wanted to do Julia here :)

@carstenbauer carstenbauer changed the title day 01 day 01 (julia) Dec 1, 2023
@Moelf
Copy link
Owner

Moelf commented Dec 1, 2023

You only need to do Julia/ someone is doing something else.

Run tests should be able to skip them, if not I will fix it haha

@carstenbauer carstenbauer changed the title day 01 (julia) day 01 Dec 1, 2023
@carstenbauer
Copy link
Contributor Author

carstenbauer commented Dec 1, 2023

I think it doesn't skip (see https://github.com/Moelf/AoC2023/actions/runs/7057065303/job/19211356543). You should fix it :) In any case, here is a basic C++ solution for day1. Only caveat: only works if run from the repo root (like runtests.jl does it) because I use a relative path. This needs a better/general solution.

@carstenbauer
Copy link
Contributor Author

carstenbauer commented Dec 1, 2023

Oh, BTW, I carelessly bumped to -std=c++20 because for some reason str.starts_with wasn't available in C++17.

(Julia is soo much nicer/more fun ....)

@Moelf Moelf merged commit b8972e4 into Moelf:main Dec 1, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants