Skip to content
/ CPTH Public

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

License

Notifications You must be signed in to change notification settings

ouuan/CPTH

CPTH

CI Test codecov Codacy Badge

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.

How to use?

Just paste the headers in the headers directory at the beginning of your code.

Each file has a document in the 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 for more information.