Update sc.sh (#52)
Update sc.sh (#52)

* sc.sh: Fix flags being set incorrectly under some circumstances

Since variables set in a function are visible globally, setting
v=valgrind once resulted in v retaining the value for later invokations.
(Therefore, calling `b` after that would result in compiling the binary
with -fsanitize=address and then running it with Valgrind, which
complained about -fsanitize=address.)

* sc.sh: Rename the functions; create all problem folders at once

Assuming template.cpp is correctly transcribed the first time, it saves
time to have all the folders created at once. Now we also `touch` a
sample input file.

* sc.sh: address comments

* sc.sh: drop redundant cp flag

trinerdi/icpc-notebook,IAmWave/trinerdi-icpc,IAmWave/trinerdi-icpc,trinerdi/icpc-notebook,IAmWave/trinerdi-icpc,IAmWave/trinerdi-icpc,trinerdi/icpc-notebook,trinerdi/icpc-notebook,trinerdi/icpc-notebook