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-2021/AOC-6/aoc-6.c~ | 65 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 Advent-of-Code-2021/AOC-6/aoc-6.c~ (limited to 'Advent-of-Code-2021/AOC-6/aoc-6.c~') diff --git a/Advent-of-Code-2021/AOC-6/aoc-6.c~ b/Advent-of-Code-2021/AOC-6/aoc-6.c~ new file mode 100644 index 0000000..5b51725 --- /dev/null +++ b/Advent-of-Code-2021/AOC-6/aoc-6.c~ @@ -0,0 +1,65 @@ +#include +#include +#include +#include + +#define N 9 +#define MAXDAYS 80 + +int table[N]; + +void PrintTable() +{ + for(int i=0; i