From fdfe966e8164acd49cb59bc9a1a888a79c6792bb Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 27 Mar 2021 15:42:14 +0800 Subject: Add algorithm contest 3. --- algorithm-contest-3/zip.bash | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 algorithm-contest-3/zip.bash (limited to 'algorithm-contest-3/zip.bash') diff --git a/algorithm-contest-3/zip.bash b/algorithm-contest-3/zip.bash new file mode 100755 index 0000000..519dd45 --- /dev/null +++ b/algorithm-contest-3/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