In my journey of Competitive Programming, I have got a realization of how important it is for one to have a template code of their own, which can serve as a “Boiler-Plate” for solving problems. Having such code aids you to implement your ideas in a much more quick and efficient manner and also saves you a lot of time in typing.
Through this post, I’d like to encourage you to make your own template for solving Competitive Programming problems. Feel free to check out my template for ideas (Or you can just copy-paste it, I don’t mind )
Github Repo for the Template - GitHub - kmvolv/CP-Template: A useful template for competitive programming
If you’d like to acquire some in-depth knowledge about the functions and C++ Templates I have utilized in my code, do check out the README file in the aforementioned repository.
Thank you for your time!