Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ouuan/cpth

:star2: Competitive Programming Template Headers | With documentation, CI tests and Codecov
https://github.com/ouuan/cpth

acm acm-icpc algorithm algorithm-competitions algorithm-library algorithms algorithms-and-data-structures algorithms-implemented algorithms-implemented-cpp competitive-coding competitive-programming competitive-programming-algorithms competitive-programming-contests cpp data-structure data-structures icpc oi single-file templates

Last synced: 2 months ago
JSON representation

:star2: Competitive Programming Template Headers | With documentation, CI tests and Codecov

Awesome Lists containing this project

README

        

# CPTH

[![CI Test](https://github.com/ouuan/CPTH/workflows/CI%20Test/badge.svg)](https://github.com/ouuan/CPTH/actions)
[![codecov](https://codecov.io/gh/ouuan/CPTH/branch/master/graph/badge.svg)](https://codecov.io/gh/ouuan/CPTH)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/fa25dcaabe794716896f14a393b5e907)](https://app.codacy.com/manual/ouuan/CPTH)

What is CPTH?

It's the Competitive Programming Template Headers for C++.

It's not STL: It's for competitive programming.

It's not a collection of snippets: It's a collection of templates. No modification is required, just instantiation.

It's not a library: These are single-file headers, which are more convenient for competitive programming.

It's reliable, because all headers are tested with CI tests and code coverage reports.

You can see the full list of the current headers [here](HEADER_LIST.md).

## How to use?

Just paste the headers in the [headers](headers) directory at the beginning of your code.

Each file has a document in the [docs](docs) directory, you can read them and have a try.

The codes are based on C++11, there may be problems with other standards.

## Contributing

You can read [CONTRIBUTING.md](CONTRIBUTING.md) for more information.