MCPcopy Create free account
hub / github.com/atcoder/ac-library

github.com/atcoder/ac-library @v1.6

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.6 ↗ · + Follow
1,029 symbols 3,462 edges 74 files 19 documented · 2% updated 14mo agov1.6 · 2025-05-01★ 2,32912 open issues

Browse by type

Functions 988 Types & classes 41
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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.

Core symbols most depended-on inside this repo

Shape

Function 860
Method 128
Class 41

Languages

TypeScript72%
C++26%
Python2%

Modules by API surface

document_ja/lib/uikit.min.js206 symbols
document_en/lib/uikit.min.js206 symbols
document_ja/lib/katex.min.js110 symbols
document_en/lib/katex.min.js110 symbols
document_ja/lib/ace.js48 symbols
document_en/lib/ace.js48 symbols
atcoder/modint.hpp37 symbols
test/unittest/segtree_test.cpp13 symbols
atcoder/lazysegtree.hpp13 symbols
test/unittest/lazysegtree_test.cpp12 symbols
test/unittest/lazysegtree_stress_test.cpp12 symbols
atcoder/mincostflow.hpp11 symbols

For agents

$ claude mcp add ac-library \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page