~sgeisenh/aoc2023

69b194bcca5acbd536d3dd8118a66e83604ee3e6 — Samuel Eisenhandler 6 months ago 3551640 main
More
2 files changed, 3 insertions(+), 2 deletions(-)

M c/01.c
M time_solutions.py
M c/01.c => c/01.c +2 -1
@@ 3,7 3,6 @@
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>



@@ 772,6 771,8 @@ int32_t transition(char c, int32_t *state) {
}

/*
#include <string.h>

void test_case(char *str, int32_t *expected, ssize_t num_expected) {
  int32_t state = 0;
  ssize_t result_idx = 0;

M time_solutions.py => time_solutions.py +1 -1
@@ 74,10 74,10 @@ async def build_c_solution(day: int) -> None:
        "clang",
        "-O3",
        "-flto",
        *(("-static",) if platform.system() == "Linux" else ()),
        "-march=native",
        "-o",
        str(bin_path),
        "-lm",
        str(src_path),
    )