aboutsummaryrefslogtreecommitdiff
path: root/works/life/algorithm-contest-2/pack.ps1
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-10-25 17:16:31 +0800
committercrupest <crupest@outlook.com>2020-10-25 17:17:13 +0800
commit58e4c77b1d5f8241af91c55e1a8efaba3115dc6b (patch)
tree9c71476d95bfb6bc128bc02a1547ddafdd171bde /works/life/algorithm-contest-2/pack.ps1
parent277d60c91ced882e445c05a37be13e4af9f5d692 (diff)
downloadcrupest-58e4c77b1d5f8241af91c55e1a8efaba3115dc6b.tar.gz
crupest-58e4c77b1d5f8241af91c55e1a8efaba3115dc6b.tar.bz2
crupest-58e4c77b1d5f8241af91c55e1a8efaba3115dc6b.zip
import(life): Add algorithm contest 2.
Diffstat (limited to 'works/life/algorithm-contest-2/pack.ps1')
-rw-r--r--works/life/algorithm-contest-2/pack.ps16
1 files changed, 6 insertions, 0 deletions
diff --git a/works/life/algorithm-contest-2/pack.ps1 b/works/life/algorithm-contest-2/pack.ps1
new file mode 100644
index 0000000..6d77d81
--- /dev/null
+++ b/works/life/algorithm-contest-2/pack.ps1
@@ -0,0 +1,6 @@
+foreach ($problem in 1..5) {
+ Push-Location "output/$problem"
+ 7z a -tzip "$problem.zip" *
+ Move-Item "$problem.zip" ..
+ Pop-Location
+}