Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.26 KB

File metadata and controls

37 lines (26 loc) · 1.26 KB

C++ Competitive Programming Library

About

This is my personal C++ library designed specifically for competitive programming. It contains a variety of data structures, algorithms, and other utilities commonly used in competitive programming. Each component of this library is designed to be drop-in usable—no setup or external dependencies required. The entire library is designed to have sections that are copy-pasteable into a single file for contest submission.

Getting Started

Since the core idea of this library is to copy-paste sections from it into your own code I recommend keeping a local copy of the library in an easy to access location:

git clone https://github.com/BrandonPacewic/CompetitiveProgramming

From there you can:

  1. Directly copy code from cpl/inc and cpl/src into your own code.
  2. Include them locally in your own code for local practice.
  3. Test against the provided test cases in test/ for your own algorithm development.

Note

As of late, this project has shifted focus toward library design over contest utility. The copy-paste guarantee may no longer apply and various sections will have internal dependencies.

License

Copyright (c) Brandon Pacewic

SPDX-License-Identifier: MIT