aocc22

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

uppgb.c (232B)


      1 #include "common.h"
      2 
      3 int main(int argc, char **argv) {
      4   char **lines;
      5   size_t nlines = readlines(&lines, "input");
      6   printf("#lines: \t%lu\n", nlines);
      7 
      8   printf("#cols : \t%lu\n", strlen(lines[0]) - 1);
      9 
     10   play(lines, nlines);
     11 }