aboutsummaryrefslogtreecommitdiff
path: root/2023/21
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-12-25 17:56:34 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2023-12-25 17:56:34 +0100
commit94d0033ed89bb5bfb6500051296892fb7cea6c29 (patch)
tree245eac2218310c958c2df2fad5109ea4f7b2a9d9 /2023/21
parent6a480c4eb9c96c82a8fd3663f0fbee4d32e56f19 (diff)
downloadaoc-94d0033ed89bb5bfb6500051296892fb7cea6c29.tar.gz
aoc-94d0033ed89bb5bfb6500051296892fb7cea6c29.zip
Small cleanup
Diffstat (limited to '2023/21')
-rw-r--r--2023/21/21a.c1
-rw-r--r--2023/21/21b.c3
2 files changed, 1 insertions, 3 deletions
diff --git a/2023/21/21a.c b/2023/21/21a.c
index a4009d9..c7b4e52 100644
--- a/2023/21/21a.c
+++ b/2023/21/21a.c
@@ -1,6 +1,5 @@
1#include <stdbool.h> 1#include <stdbool.h>
2#include <stdio.h> 2#include <stdio.h>
3#include <stdlib.h>
4#include <string.h> 3#include <string.h>
5 4
6#define N 200 5#define N 200
diff --git a/2023/21/21b.c b/2023/21/21b.c
index 1748185..8799b93 100644
--- a/2023/21/21b.c
+++ b/2023/21/21b.c
@@ -14,11 +14,10 @@ and fuckyou2.png.
14#include <inttypes.h> 14#include <inttypes.h>
15#include <stdbool.h> 15#include <stdbool.h>
16#include <stdio.h> 16#include <stdio.h>
17#include <stdlib.h>
18#include <string.h> 17#include <string.h>
19 18
20#define N 200 19#define N 200
21#define S 202300L /* My input was 202300*131+65 */ 20#define S 202300L
22 21
23char map[N][N]; 22char map[N][N];
24int64_t n; 23int64_t n;

Generated with cgit - Back to sebastiano.tronto.net