From 99e2e923d0c77b02f3fb4ff648ea916954868606 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Fri, 28 Feb 2025 23:13:39 +0800 Subject: chore(store): move everything to store. --- store/works/life/2020-algorithm-contest/zip.bash | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 store/works/life/2020-algorithm-contest/zip.bash (limited to 'store/works/life/2020-algorithm-contest/zip.bash') diff --git a/store/works/life/2020-algorithm-contest/zip.bash b/store/works/life/2020-algorithm-contest/zip.bash new file mode 100644 index 0000000..519dd45 --- /dev/null +++ b/store/works/life/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