CP Template
Disclaimer:
I am a beginner in competitive programming, and this is me documenting my learnings. So, anything I say is just what I think at the moment and should not be taken as hard truths.
My CP Template
It is always fun to write and maintain your own template file for competitive programming, just like maintaining .virmc
file.
I primarily program in C++. So here is my cpp template file:
Now how to keep improving this template,
- Experiment with different things, and make it customize to your needs.
- Look at other people template and learn.
The same thing could be said for editing your .vimrc
file, that is if you use vim :-)