Skip to content

Commit

Permalink
Add scripts for running the programs for day 1-4
Browse files Browse the repository at this point in the history
  • Loading branch information
carl-westerlund committed Dec 5, 2019
1 parent db74e76 commit 6d3fc04
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nerarith-c++/README.md
@@ -0,0 +1,7 @@
Advent of code 2019

To run the solution for the first part of day 1, use

`./run_1a`

and similarily for other days.
2 changes: 2 additions & 0 deletions nerarith-c++/day1/run_1a
@@ -0,0 +1,2 @@
g++ -std=c++17 1a.cpp -o 1a
./1a < input
2 changes: 2 additions & 0 deletions nerarith-c++/day1/run_1b
@@ -0,0 +1,2 @@
g++ -std=c++17 1b.cpp -o 1b
./1b < input
2 changes: 2 additions & 0 deletions nerarith-c++/day2/run_2a
@@ -0,0 +1,2 @@
g++ -std=c++17 2a.cpp -o 2a
./2a < input
2 changes: 2 additions & 0 deletions nerarith-c++/day2/run_2b
@@ -0,0 +1,2 @@
g++ -std=c++17 2b.cpp -o 2b
./2b < input
2 changes: 2 additions & 0 deletions nerarith-c++/day3/run_3a
@@ -0,0 +1,2 @@
g++ -std=c++17 3a.cpp -o 3a
./3a < input
2 changes: 2 additions & 0 deletions nerarith-c++/day3/run_3b
@@ -0,0 +1,2 @@
g++ -std=c++17 3b.cpp -o 3b
./3b < input
2 changes: 2 additions & 0 deletions nerarith-c++/day4/run_4a
@@ -0,0 +1,2 @@
g++ -std=c++17 4a.cpp -o 4a
./4a < input
2 changes: 2 additions & 0 deletions nerarith-c++/day4/run_4b
@@ -0,0 +1,2 @@
g++ -std=c++17 4b.cpp -o 4b
./4b < input

0 comments on commit 6d3fc04

Please sign in to comment.