aboutsummaryrefslogtreecommitdiff
path: root/scripts/.scripts/cpp_ps.sh
diff options
context:
space:
mode:
authoromagdy7 <omar.professional8777@gmail.com>2022-07-02 12:31:07 +0200
committeromagdy7 <omar.professional8777@gmail.com>2022-07-02 12:31:07 +0200
commit4390ba544556a96765c136c933f4375990b34895 (patch)
treee1281985ba2d343f7fc88bfedc6aac89646ffc5b /scripts/.scripts/cpp_ps.sh
parentd2642d6e008cf1755c85854152f2c36c2f48b16a (diff)
downloaddotfiles-4390ba544556a96765c136c933f4375990b34895.tar.xz
dotfiles-4390ba544556a96765c136c933f4375990b34895.zip
Edited some scripts and added 2 new scripts
Diffstat (limited to 'scripts/.scripts/cpp_ps.sh')
-rwxr-xr-xscripts/.scripts/cpp_ps.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/.scripts/cpp_ps.sh b/scripts/.scripts/cpp_ps.sh
index ac0eb2d..1b09fe5 100755
--- a/scripts/.scripts/cpp_ps.sh
+++ b/scripts/.scripts/cpp_ps.sh
@@ -6,8 +6,8 @@ if [ "$input" = "y" ]; then
cd $1
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
- touch inp
nvim main.cpp
fi
+