GitPedia

Ac library

AtCoder Library

From atcoder·Updated June 15, 2026·View on GitHub·

AC Library is the official library of [AtCoder](https://atcoder.jp/home). This repository manages the contents of AC Library. The project is written primarily in C++, distributed under the Creative Commons Zero v1.0 Universal license, first published in 2020. It has gained significant community traction with 2,323 stars and 263 forks on GitHub. Key topics include: atcoder, atcoder-library, competitive-programming.

Latest release: v1.6AC Library (v1.6)

AC(AtCoder) Library

AC Library is the official library of AtCoder. This repository manages the contents of AC Library.

You may refer to the following links for more details:

The documents of master branch are as follows:

Policy

Our goal of this project is to achieve that

  • Enable every AtCoder users to use this library with minimum efforts of studying about PC
  • Maximize convenience for the usage in competitive programming. We completely ignore other usages.
  • No bugs. This is a fantasy, but we pursue this.

By this policy, we ignore some manners of C++ intentionally. For example,

  • we don't use size_t, but use int.
  • Segtree handles function pointers, not functional objects.
  • and so on...

Direction of this project

We haven't decided whether we should increase this library's contents or not because there are pros and cons.
If you are interested in this topic, please join the discussion in The Announcement on Codeforces.

For now, we are not planning to add new features, and we use this repository only for

  • collecting issues
  • recording the changelogs
  • versioning our releases

Contributing

We accept issues/PRs only from AtCoder users.

We would appreciate it if you would report our mistakes like a typo, or, more importantly, bugs!

As mentioned above, we haven't decided which way to go. Therefore we are not accepting feature requests for now, and issues will be closed.

Releases

You can view the newest version of AC Library in The Announcement on AtCoder page.

You can also see all versions in The Release page.

License

This library is released under the CC0, except for the third-party libraries that are located under /document_(en|ja)/lib directory. Please refer /document_en/lib/LICENSE.md for details.

Contributors

Showing top 12 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from atcoder/ac-library via the GitHub API.Last fetched: 6/15/2026