aboutsummaryrefslogtreecommitdiff
path: root/scripts/.scripts/pscontests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/.scripts/pscontests.sh')
-rwxr-xr-xscripts/.scripts/pscontests.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/.scripts/pscontests.sh b/scripts/.scripts/pscontests.sh
index e65a597..ff4f1e3 100755
--- a/scripts/.scripts/pscontests.sh
+++ b/scripts/.scripts/pscontests.sh
@@ -7,8 +7,5 @@ mkdir ${REPLY}
cd ${REPLY}
for p in $PROBLEMS
do
- mkdir $p
- cd $p
- touch main.cpp
- echo -e "#include<bits/stdc++.h>\n\nusing namespace std;\n\nint main () {\n\tios_base::sync_with_stdio(false);\n\tcin.tie(NULL);\n\tint tt;\n\tcin >> tt;\n\twhile(tt--){\n\n\t}\n}" > main.cpp
+ echo "y" | ~/.scripts/cpp_ps.sh $p
done