diff options
Diffstat (limited to 'scripts/.scripts/cpp_ps.sh')
| -rwxr-xr-x | scripts/.scripts/cpp_ps.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/.scripts/cpp_ps.sh b/scripts/.scripts/cpp_ps.sh index 1b09fe5..b2c2600 100755 --- a/scripts/.scripts/cpp_ps.sh +++ b/scripts/.scripts/cpp_ps.sh @@ -4,8 +4,7 @@ read input if [ "$input" = "y" ]; then mkdir $1 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 + cp ~/test/cptemplate/main.cpp . nvim main.cpp fi |
