Bash script for regular CP participants

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 (ohh yes, I use python) 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 :wink:

2 Likes