diff options
| author | Omar Magdy <omar.professional8777@gmail.com> | 2022-05-06 16:30:44 +0200 |
|---|---|---|
| committer | Omar Magdy <omar.professional8777@gmail.com> | 2022-05-06 16:30:44 +0200 |
| commit | 9c9625fec8f35932f37973f31677a21f3184511e (patch) | |
| tree | d7a89f53ae72f8f882095584b2fa7d5392967fe8 /scripts | |
| parent | 7fe61dd5d84e47c4f8dc5a3059711cfaa5253220 (diff) | |
| download | dotfiles-9c9625fec8f35932f37973f31677a21f3184511e.tar.xz dotfiles-9c9625fec8f35932f37973f31677a21f3184511e.zip | |
Edited pscontests.sh made that it appends the classic cpp program to each problem of the contest
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/.scripts/pscontests.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/.scripts/pscontests.sh b/scripts/.scripts/pscontests.sh index d476cc8..1536f96 100755 --- a/scripts/.scripts/pscontests.sh +++ b/scripts/.scripts/pscontests.sh @@ -7,9 +7,6 @@ mkdir ${REPLY} cd ${REPLY} for p in $PROBLEMS do - mkdir $p - cd $p touch $p.cpp - cd .. + echo -e "#include<bits/stdc++.h>\n\nusing namespace std\n\nint main () {\n\n}" > $p.cpp done -cd .. |
