Bash script for regular CodeForces participants

jai_dewani profile image Jai dewani ・1 min read

Alt Text
Soon after I started regularly participating in CF rounds, I noticed I was creating a folder with files named A, B, C and typing the same python template before each contest.

So I decided to automate this process, created the bash script takes the round name as input and creates a folder with that same name, create 3 files (A.py, B.py, C.py) and copies a fixed template to each one of them and opens this folder in VSCode. Sure you can change anything to everything in this script, add your C++ script or open the folder with your prefered editor!

Find my bash script here. There are so many more things that can be done, so I am sharing this with everyone and hoping to see your own versions of it too :)


Editor guide