Skip to content

Aryan10/template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Competitive Programming Template

A modular, object-oriented and modern C++ template library for competitive programming, containing decently optimized implementations of essential algorithms, data structures and code snippets for utility.

I also made an extension to use with to auto fold template implementations.

πŸ“š Modules

  • math/ - Mathematical algorithms including combinatorics, number theory, matrix operations, and bit manipulation techniques
  • graph/ - Graph algorithms for connectivity, flow problems, shortest paths, and advanced graph operations
  • ranges/ - Data structures for range queries including segment trees, Fenwick trees, and square root decomposition
  • string/ - String processing algorithms for pattern matching, hashing, palindrome detection, z-function etc.
  • tree/ - Tree algorithms including LCA queries, tree decomposition, heavy light decomposition etc.
  • utility/ - Essential utilities with common macros, template I/O, hidden data structures, and competitive programming helpers

🀝 Contributing

Feel free to contribute by:

  1. Adding new algorithm implementations
  2. Improving existing code efficiency
  3. Adding more detailed documentation
  4. Reporting bugs or suggesting improvements

πŸ“„ License

This project is open source and available under the MIT License.

About

Competitive programming template I made for codeforces

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages