Skip to content

A library of C++ codes for many topics popular in programming competitions

License

Notifications You must be signed in to change notification settings

drajingo/Competitive-programming-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Competitive Programming Library

A library of C++ codes for many topics popular in programming competitions

Description

  • This is predominantly template code, to be used in programming competitions. Individual files on their own will usually not compile, since the code is not meant to be standalone, but rather be used as/when needed.
  • Efficiency is valued much more than readability or good practices, but I've tried to be succint and clear wherever possible.
  • Feel free to fork and play with the code according to the terms of the GPL v2.0. Pull requests fixing bugs or correcting typos are appreciated! Requests adding new code will usually be turned down, however, since subtle differences in coding style make someone else's code difficult to use in a time-sensitive environment like a contest.

Contents

Ordered alphabetically. If it's not clickable, it doesn't exist yet.

  • Data Structures
    • Binary Indexed Tree
    • Disjoint Sets
    • Persistent Segment Tree
    • Segment Tree
    • Sparse Table
    • Some less popular ones
  • Geometry
  • Graphs
    • Directed
    • Trees
    • Undirected
  • Input/Output optimizations
  • Maths
    • Combinatorics
    • Number Theory
    • Polynomials
  • Strings

About

A library of C++ codes for many topics popular in programming competitions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published