{"id":13480575,"url":"https://github.com/atcoder/ac-library","last_synced_at":"2026-03-12T15:05:01.498Z","repository":{"id":39586216,"uuid":"293816245","full_name":"atcoder/ac-library","owner":"atcoder","description":"AtCoder Library","archived":false,"fork":false,"pushed_at":"2025-05-01T16:53:01.000Z","size":1050,"stargazers_count":2245,"open_issues_count":13,"forks_count":261,"subscribers_count":36,"default_branch":"master","last_synced_at":"2026-01-26T13:49:56.173Z","etag":null,"topics":["atcoder","atcoder-library","competitive-programming"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atcoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-09-08T13:18:37.000Z","updated_at":"2026-01-25T01:21:02.000Z","dependencies_parsed_at":"2024-01-13T18:07:41.250Z","dependency_job_id":"c5d9a44c-ad6f-45d7-8958-af4d29830b93","html_url":"https://github.com/atcoder/ac-library","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/atcoder/ac-library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atcoder%2Fac-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atcoder%2Fac-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atcoder%2Fac-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atcoder%2Fac-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atcoder","download_url":"https://codeload.github.com/atcoder/ac-library/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atcoder%2Fac-library/sbom","scorecard":{"id":214297,"data":{"date":"2025-08-11","repo":{"name":"github.com/atcoder/ac-library","commit":"864245a00b00dd008d1abfdc239618fdb7d139da"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Code-Review","score":5,"reason":"Found 7/12 approved changesets -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/document.yml:1","Warn: no topLevel permission defined: .github/workflows/expander.yml:1","Warn: no topLevel permission defined: .github/workflows/unittest.yml:1","Warn: no topLevel permission defined: .github/workflows/unittest_msvc.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Creative Commons Zero v1.0 Universal: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/document.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/atcoder/ac-library/document.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/document.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/atcoder/ac-library/document.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/document.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/atcoder/ac-library/document.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/document.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/atcoder/ac-library/document.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/expander.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/atcoder/ac-library/expander.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/expander.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/atcoder/ac-library/expander.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/unittest.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/atcoder/ac-library/unittest.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/unittest_msvc.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/atcoder/ac-library/unittest_msvc.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/unittest_msvc.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/atcoder/ac-library/unittest_msvc.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/document.yml:19","Warn: pipCommand not pinned by hash: .github/workflows/document.yml:20","Warn: pipCommand not pinned by hash: .github/workflows/expander.yml:24","Warn: pipCommand not pinned by hash: .github/workflows/expander.yml:25","Info:   0 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   4 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.5.1 not signed: https://api.github.com/repos/atcoder/ac-library/releases/98940820","Warn: release artifact v1.5 not signed: https://api.github.com/repos/atcoder/ac-library/releases/98569705","Warn: release artifact v1.4 not signed: https://api.github.com/repos/atcoder/ac-library/releases/46390287","Warn: release artifact v1.3 not signed: https://api.github.com/repos/atcoder/ac-library/releases/35222811","Warn: release artifact v1.5.1 does not have provenance: https://api.github.com/repos/atcoder/ac-library/releases/98940820","Warn: release artifact v1.5 does not have provenance: https://api.github.com/repos/atcoder/ac-library/releases/98569705","Warn: release artifact v1.4 does not have provenance: https://api.github.com/repos/atcoder/ac-library/releases/46390287","Warn: release artifact v1.3 does not have provenance: https://api.github.com/repos/atcoder/ac-library/releases/35222811"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-cpwx-vrp4-4pq7","Warn: Project is vulnerable to: PYSEC-2021-66 / GHSA-g3rq-g295-4j3m","Warn: Project is vulnerable to: GHSA-h5c8-rqwp-cp95","Warn: Project is vulnerable to: GHSA-h75v-3vvj-5mfj","Warn: Project is vulnerable to: GHSA-q2x7-8rv6-6q7h"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T01:22:42.343Z","repository_id":39586216,"created_at":"2025-08-17T01:22:42.343Z","updated_at":"2025-08-17T01:22:42.343Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30429355,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T14:34:45.044Z","status":"ssl_error","status_checked_at":"2026-03-12T14:09:33.793Z","response_time":114,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["atcoder","atcoder-library","competitive-programming"],"created_at":"2024-07-31T17:00:41.660Z","updated_at":"2026-03-12T15:05:01.468Z","avatar_url":"https://github.com/atcoder.png","language":"C++","funding_links":[],"categories":["C++","라이브러리"],"sub_categories":[],"readme":"# AC(AtCoder) Library\n\nAC Library is the official library of [AtCoder](https://atcoder.jp/home). This repository manages the contents of AC Library.\n\nYou may refer to the following links for more details:\n\n- [The Announcement on AtCoder](https://atcoder.jp/posts/518)\n- [The Announcement on Codeforces](https://codeforces.com/blog/entry/82400)\n- [Practice Contest](https://atcoder.jp/contests/practice2)\n- [AC Library Document(en)](https://atcoder.github.io/ac-library/production/document_en/)\n- [AC Library Document(ja)](https://atcoder.github.io/ac-library/production/document_ja/)\n\nThe documents of master branch are as follows:\n\n- [AC Library Document(en, master)](https://atcoder.github.io/ac-library/master/document_en/)\n- [AC Library Document(ja, master)](https://atcoder.github.io/ac-library/master/document_ja/)\n\n## Policy\n\nOur goal of this project is to achieve that\n\n- Enable **every AtCoder users** to use this library with **minimum efforts of studying about PC**\n- Maximize convenience for **the usage in competitive programming**. We completely ignore other usages.\n- No bugs. This is a fantasy, but we pursue this.\n\nBy this policy, we ignore some manners of C++ intentionally. For example,\n\n- we don't use `size_t`, but use `int`.\n- Segtree handles function pointers, not functional objects.\n- and so on...\n\n## Direction of this project\n\nWe haven't decided whether we should increase this library's contents or not because there are pros and cons.\nIf you are interested in this topic, please join the discussion in [The Announcement on Codeforces](https://codeforces.com/blog/entry/82400).\n\nFor now, we are not planning to add new features, and we use this repository only for\n\n- collecting issues\n- recording the changelogs\n- versioning our releases\n\n## Contributing\n\nWe accept issues/PRs **only from AtCoder users**.\n\nWe would appreciate it if you would report our mistakes like a typo, or, more importantly, bugs!\n\nAs mentioned above, we haven't decided which way to go. Therefore we are not accepting feature requests for now, and issues will be closed.\n\n## Releases\n\nYou can view the newest version of AC Library in [The Announcement on AtCoder](https://atcoder.jp/posts/518) page.\n\nYou can also see all versions in [The Release](https://github.com/atcoder/ac-library/releases) page.\n\n## License\n\nThis library is released under the [CC0](https://creativecommons.org/publicdomain/zero/1.0/legalcode), except for the third-party libraries that are located under `/document_(en|ja)/lib` directory. Please refer [/document_en/lib/LICENSE.md](./document_en/lib/LICENSE.md) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatcoder%2Fac-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatcoder%2Fac-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatcoder%2Fac-library/lists"}