aocc23

Advent of Code 2023
git clone git://www.tkruger.se/aocc23.git
Log | Files | Refs | README

common.h (231B)


      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 typedef struct {
     10   int64_t x;
     11   int64_t y;
     12 } pos_t;
     13 
     14 int64_t area(const pos_t *cornetto, const size_t n);
     15 
     16 #endif