#!/usr/bin/env bash

year=$1
day=$2

../c3/bin/c3c compile -o $year/$day/problem $year/$day/problem.c3 && \
time (cat ../data/$year/$day/input.txt | ./$year/$day/problem)