A collection of useful C++ templates for competitive programming and algorithmic contests. This repository aims to provide a solid foundation for solving common problems efficiently.
git clone https://github.com/LucasDu-lab/contest-templates.git
cd contest-templates
Include headers like this:
#include "int128.h" //the header file name
//the rest of the code
Refer to the documentation and individual header files for more information.
Contributions are welcome! If you have suggestions for improvements or additional templates, please create a discussion, create a pull request or open an issue.
This project is licensed under the MIT License. See the LICENSE file for details.
Link to repository: https://github.com/LucasDu-lab/contest-templates
Link to documentation: https://lucasdu-lab.github.io/contest-templates/documentation/welcome.html
Join Discord: https://discord.gg/YRdmxAGu