day 1 part 2: use bytes instead of int for lookup
This commit is contained in:
parent
cc413c3ffb
commit
d2da1644b8
|
@ -9,7 +9,7 @@
|
|||
int main() {
|
||||
int position = 0;
|
||||
char line [10];
|
||||
int positions [inputLength]; // all initialized to 0
|
||||
char positions [inputLength]; // all initialized to 0
|
||||
|
||||
while (1) {
|
||||
FILE* inputFile = fopen("input", "r");
|
||||
|
|
Loading…
Reference in New Issue
Block a user