Files
test/puzzles/training/build_and_run_last_changed.sh
2021-03-26 19:34:05 +00:00

6 lines
106 B
Bash

#!/bin/sh
SRC=$(ls -t *.cpp | head -1)
set -x
clang -std=c++20 -O2 -pthread -lstdc++ -I. $SRC && ./a.out