DEV Community

Anurag Pandey
Anurag Pandey

Posted on

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,

  1. Experiment with different things, and make it customize to your needs.
  2. Look at other people template and learn.

The same thing could be said for editing your .vimrc file, that is if you use vim :-)

Top comments (0)