about summary refs log tree commit diff
path: root/run.sh
blob: 5534fd35ccb1d3a67e084f2e3e044c99eacccae4 (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh -e

DAY=${1?which day}

: ${CXX:=g++}
: ${CXXFLAGS= -O2 -std=c++1z -g}
$CXX -Wall -Wextra $CXXFLAGS day$DAY.cc
./a.out <day$DAY