diff options
author | crupest <crupest@outlook.com> | 2020-10-25 17:16:31 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-10-25 17:17:13 +0800 |
commit | 1e05f756960c0b0c7fbd5acc11e5c0ae29134dcc (patch) | |
tree | 0d04f01fb53f42c64236f804f0961ed353930b22 /algorithm-contest-2/pack.ps1 | |
parent | 17efe0b0bc81ac70418c23af7aec620d8c1f858d (diff) | |
download | life-1e05f756960c0b0c7fbd5acc11e5c0ae29134dcc.tar.gz life-1e05f756960c0b0c7fbd5acc11e5c0ae29134dcc.tar.bz2 life-1e05f756960c0b0c7fbd5acc11e5c0ae29134dcc.zip |
Add algorithm contest 2.
Diffstat (limited to 'algorithm-contest-2/pack.ps1')
-rw-r--r-- | algorithm-contest-2/pack.ps1 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/algorithm-contest-2/pack.ps1 b/algorithm-contest-2/pack.ps1 new file mode 100644 index 0000000..6d77d81 --- /dev/null +++ b/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
+}
|