-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
24 lines (16 loc) · 847 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Directory structure
.
├── <year>
│ └── <day number>p<part number>
│ ├── puzzle_input.txt <- Actual puzzle input (but i wont track it on github)
│ ├── main.c <--- main.* is the solution
│ ├── main.lua <-|
│ └── test_input.txt <- Test input
...
Programs will read input from stdin and output sole result on stdout
Run it like `./main.lua < input_file.txt`
Ouput is just a singular number
For C codes its usually can be compiled with `gcc -Wall main.c -o main` (the code runs/compiles on POSIX compliant compiler and OS)
or run with ./main.c (its bash and C polyglot)
For Lua codes its runnable with `./main.lua` (chmod it if necessary and requires lua5.4 installed)
Should always be compile/run from terminal not from IDE build option