From 48966f12832ac97228132e56fb3159099f3e466e Mon Sep 17 00:00:00 2001 From: kartofen Date: Sun, 31 Jul 2022 11:55:45 +0300 Subject: cleanup --- Advent-of-Code-2021/AOC-6/aoc-6 | Bin 16480 -> 0 bytes Advent-of-Code-2021/AOC-6/aoc-6.c | 78 ------------------------------------- Advent-of-Code-2021/AOC-6/aoc-6.c~ | 65 ------------------------------- Advent-of-Code-2021/AOC-6/main.c | 78 +++++++++++++++++++++++++++++++++++++ 4 files changed, 78 insertions(+), 143 deletions(-) delete mode 100755 Advent-of-Code-2021/AOC-6/aoc-6 delete mode 100644 Advent-of-Code-2021/AOC-6/aoc-6.c delete mode 100644 Advent-of-Code-2021/AOC-6/aoc-6.c~ create mode 100644 Advent-of-Code-2021/AOC-6/main.c (limited to 'Advent-of-Code-2021/AOC-6') diff --git a/Advent-of-Code-2021/AOC-6/aoc-6 b/Advent-of-Code-2021/AOC-6/aoc-6 deleted file mode 100755 index 9fe1541..0000000 Binary files a/Advent-of-Code-2021/AOC-6/aoc-6 and /dev/null differ diff --git a/Advent-of-Code-2021/AOC-6/aoc-6.c b/Advent-of-Code-2021/AOC-6/aoc-6.c deleted file mode 100644 index 42cd75b..0000000 --- a/Advent-of-Code-2021/AOC-6/aoc-6.c +++ /dev/null @@ -1,78 +0,0 @@ -#include -#include -#include -#include -#include - -#define N 9 -#define MAXDAYS 256 - -u_int64_t table[N]; -u_int64_t temp_table[N]; - -void PrintTable() -{ - for(int i=0; i -#include -#include -#include - -#define N 9 -#define MAXDAYS 80 - -int table[N]; - -void PrintTable() -{ - for(int i=0; i +#include +#include +#include +#include + +#define N 9 +#define MAXDAYS 256 + +u_int64_t table[N]; +u_int64_t temp_table[N]; + +void PrintTable() +{ + for(int i=0; i