common.h (401B)
1 #ifndef COMMON_H_ 2 #define COMMON_H_ 3 4 #include <assert.h> 5 #include <stdint.h> 6 #include <stdio.h> 7 #include <stdlib.h> 8 9 #include <dg.h> 10 #include <reading.h> 11 12 size_t idx(size_t row, size_t col, size_t ncols); 13 int walkable(char **lines, size_t r, size_t c); 14 void recursive_longest_path(uint8_t *visited, size_t node, size_t end, 15 size_t steps, const dg_t *g, size_t *l); 16 17 #endif