{"id":17697787,"url":"https://github.com/ryoga-exe/cp-library","last_synced_at":"2026-02-01T20:36:36.121Z","repository":{"id":54001309,"uuid":"367905338","full_name":"Ryoga-exe/cp-library","owner":"Ryoga-exe","description":"📈 Library and Code snippets for competitive programming","archived":false,"fork":false,"pushed_at":"2023-02-14T16:27:31.000Z","size":1165,"stargazers_count":1,"open_issues_count":12,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-02T15:50:56.551Z","etag":null,"topics":["codesnippets","competitive-programming","cpp","library","snippets"],"latest_commit_sha":null,"homepage":"https://repos.ryoga.dev/cp-library/","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/Ryoga-exe.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}},"created_at":"2021-05-16T14:35:52.000Z","updated_at":"2024-02-27T06:16:28.000Z","dependencies_parsed_at":"2024-11-12T04:15:35.290Z","dependency_job_id":null,"html_url":"https://github.com/Ryoga-exe/cp-library","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/Ryoga-exe/cp-library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ryoga-exe%2Fcp-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ryoga-exe%2Fcp-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ryoga-exe%2Fcp-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ryoga-exe%2Fcp-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ryoga-exe","download_url":"https://codeload.github.com/Ryoga-exe/cp-library/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ryoga-exe%2Fcp-library/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28989362,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T18:17:03.387Z","status":"ssl_error","status_checked_at":"2026-02-01T18:16:57.287Z","response_time":56,"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":["codesnippets","competitive-programming","cpp","library","snippets"],"created_at":"2024-10-24T14:48:28.690Z","updated_at":"2026-02-01T20:36:36.106Z","avatar_url":"https://github.com/Ryoga-exe.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cp-library\n\n[![LICENSE](https://img.shields.io/github/license/ryoga-exe/cp-library)](/LICENSE)\n[![Issues](https://img.shields.io/github/issues/ryoga-exe/cp-library)](https://github.com/Ryoga-exe/cp-library/issues)\n![Lines of code](https://img.shields.io/tokei/lines/github/ryoga-exe/cp-library)\n[![GitHub Pages](https://img.shields.io/static/v1?label=GitHub+Pages\u0026message=+\u0026color=brightgreen\u0026logo=github)](repos.ryoga.dev/cp-library/)\n\n[![Twitter Follow](https://img.shields.io/badge/follow-%40Ryoga__exe-1DA1F2?logo=twitter\u0026style=flat)](https://twitter.com/intent/follow?screen_name=Ryoga_exe)\n[![AtCoder Ryoga_exe](https://img.shields.io/endpoint?url=https%3A%2F%2Fatcoder-badges.now.sh%2Fapi%2Fatcoder%2Fjson%2FRyoga_exe)](https://atcoder.jp/users/Ryoga_exe)\n\n## What is this?｜これは何？\n\n[Document](repos.ryoga.dev/cp-library/)\n\nRyoga.exe's Library and Code snippets for competitive programming.\n\nFor use with `C++17 (GCC 9.2.1)`.\n\nRyoga.exe の競プロ用ライブラリ・スニペット\n\n`C++17 (GCC 9.2.1)` での使用を想定しています。\n\n## Generate Snippet｜スニペットを生成する\n\n```bash\n# Install Dependencies (it requires PyYAML to parse yaml files)\npip install PyYAML\n\n# Run!\npython generate-snippet.py\n```\n\n## Add new file to library｜ライブラリ追加手順\n\n1. ファイル (`src/\u003cCATEGORY\u003e/\u003cPATH\u003e.hpp` 等) を追加\n  \n    prefix などは以下の通りに記述して設定する ([例](/src/data-structure/unionfind.hpp))\n    ```cpp\n    /// @prefix \u003c\u003e\n    /// @description \u003c\u003e\n    /// @isFileTemplate false\n    ```\n    \n    ここで以下の形式の `start` がない場合はファイルのはじめからス ニペットに登録される、ある場合は `start` の次の行から登録される\n    ```cpp\n    /// start\n    ```\n    \n    `src/` 直下に新たにディレクトリを作成してその中にファイルを追加 した場合、`config.yml` を更新する\n\n2. ドキュメントを追加\n\n## Add Releases｜リリースを追加\n\n```bash\ngit tag v1.0.0\ngit push origin --tag\n```\n\n## License｜ライセンス\n\nLicensed under a CC0 license. See [LICENSE file](/LICENSE) for more further details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryoga-exe%2Fcp-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryoga-exe%2Fcp-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryoga-exe%2Fcp-library/lists"}