#!/bin/bash

task="locmin"

if ! g++ -std=gnu++20 -Wall -O2 -pipe -static -g -o "$task" grader.cpp "${task}.cpp"; then
    echo
    read -n 1 -s -r -p "Compilation failed. Press any key to continue..."
    echo
fi
