From 078dd432b73983e54b63179de7d59588994fac88 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 12 Oct 2020 21:01:59 +0800 Subject: Add 2020-algorithm-contest. --- 2020-algorithm-contest/zip.bash | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 2020-algorithm-contest/zip.bash (limited to '2020-algorithm-contest/zip.bash') diff --git a/2020-algorithm-contest/zip.bash b/2020-algorithm-contest/zip.bash new file mode 100644 index 0000000..519dd45 --- /dev/null +++ b/2020-algorithm-contest/zip.bash @@ -0,0 +1,11 @@ +if [ $# -ne 1 ] +then + echo "please provide exact one argument, problem number" + exit 1 +fi + +pushd ./output/$1/ +zip ./$1.zip *.in *.out +popd + +mv ./output/$1/$1.zip ./output -- cgit v1.2.3