aboutsummaryrefslogtreecommitdiff
path: root/scripts/.scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/.scripts')
-rwxr-xr-xscripts/.scripts/cpp_ps.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/.scripts/cpp_ps.sh b/scripts/.scripts/cpp_ps.sh
new file mode 100755
index 0000000..abdfbec
--- /dev/null
+++ b/scripts/.scripts/cpp_ps.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+touch $1.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\twhile(tt--){\n\n\t}\n}" > $1.cpp
+nvim $1.cpp
+
+