diff options
| author | Omar Magdy <omar.professional8777@gmail.com> | 2022-05-30 16:25:07 +0200 |
|---|---|---|
| committer | Omar Magdy <omar.professional8777@gmail.com> | 2022-05-30 16:25:07 +0200 |
| commit | 80a5b49a19f79b871a56468ac5f4025f8690f619 (patch) | |
| tree | b11706271a0aae558157dabdebd05d4c20fbdf18 /scripts/.scripts | |
| parent | 563b5618f419397c81cbd1e90fa671c972a03135 (diff) | |
| download | dotfiles-80a5b49a19f79b871a56468ac5f4025f8690f619.tar.xz dotfiles-80a5b49a19f79b871a56468ac5f4025f8690f619.zip | |
Updated some files
Diffstat (limited to 'scripts/.scripts')
| -rwxr-xr-x | scripts/.scripts/cpp_ps.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/.scripts/cpp_ps.sh b/scripts/.scripts/cpp_ps.sh index b4cd9a4..edf6312 100755 --- a/scripts/.scripts/cpp_ps.sh +++ b/scripts/.scripts/cpp_ps.sh @@ -4,9 +4,10 @@ read input if [ "$input" = "y" ]; then mkdir $1 cd $1 - 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\tcin >> tt;\n\twhile(tt--){\n\n\t}\n}" > $1.cpp - nvim $1.cpp + 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 input.txt + nvim main.cpp fi |
