From aec1c07260257ba7c28eff53f422ddb7daaf316a Mon Sep 17 00:00:00 2001 From: kartofen Date: Sun, 31 Jul 2022 11:46:17 +0300 Subject: Big Bang --- Advent-of-Code-2020/AOC-1/aoc-1.c | 81 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 Advent-of-Code-2020/AOC-1/aoc-1.c (limited to 'Advent-of-Code-2020/AOC-1/aoc-1.c') diff --git a/Advent-of-Code-2020/AOC-1/aoc-1.c b/Advent-of-Code-2020/AOC-1/aoc-1.c new file mode 100644 index 0000000..070642f --- /dev/null +++ b/Advent-of-Code-2020/AOC-1/aoc-1.c @@ -0,0 +1,81 @@ +#include +#include +#include +#include + +#if 0 + #define PFILE "sample.txt" + #define A_CAP 6 +#else + #define PFILE "input.txt" + #define A_CAP 200 +#endif + +int ints[A_CAP]; + +void PrintInts() +{ + for(int i=0; i