Advent of Code

Diff
Login

Diff

Differences From Artifact [c366e35210]:

To Artifact [b9fb3ba61b]:


1
2
3
4

5
6

7
8
9


10
11
12
13
1
2
3

4
5

6



7
8


9
10



-
+

-
+
-
-
-
+
+
-
-


#ifndef AOCUTILS_H_INCLUDED
#define AOCUTILS_H_INCLUDED

int text2array(int **dst, const char *r);
size_t text2array(unsigned **dst, const char *txt);
size_t slurp(char **dst, const char *filename);
int max3(int a, int b, int c);
unsigned distance(unsigned a, unsigned b);
double fmax3(double a, double b, double c);
long max3l(long a, long b, long c);
int min3(int a, int b, int c);
unsigned max3u(unsigned a, unsigned b, unsigned c);
unsigned min3u(unsigned a, unsigned b, unsigned c);
double fmin3(double a, double b, double c);
long min3l(long a, long b, long c);

#endif