- First download the contest.py file and template.cpp (or create your own template.cpp file) file inside your HOME directory
- Create the CF directory for Codeforces inside your Home directory
- Run the contest.py in you terminal and enter the Codeforces contest id and it will create a directory (contest id) and the cpp file of the problems of that contest
Note for Linux users -: it will automatically open the files in your gedit texteditor (because i use gedit)