{"id":20859497,"url":"https://github.com/vndee/algo-templates","last_synced_at":"2025-07-13T10:34:17.291Z","repository":{"id":98801583,"uuid":"142728349","full_name":"vndee/algo-templates","owner":"vndee","description":"Algorithm templates for competitive programming contest.","archived":false,"fork":false,"pushed_at":"2018-07-29T03:51:05.000Z","size":326,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T14:16:02.982Z","etag":null,"topics":["acm-icpc","algorithms","codeforces","competitive-programming","cpp","data-structures","topcoder"],"latest_commit_sha":null,"homepage":"https://vndee.github.io/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vndee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-07-29T03:40:49.000Z","updated_at":"2020-11-26T16:59:10.000Z","dependencies_parsed_at":"2023-03-07T02:30:22.178Z","dependency_job_id":null,"html_url":"https://github.com/vndee/algo-templates","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vndee/algo-templates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vndee%2Falgo-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vndee%2Falgo-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vndee%2Falgo-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vndee%2Falgo-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vndee","download_url":"https://codeload.github.com/vndee/algo-templates/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vndee%2Falgo-templates/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265128768,"owners_count":23715629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["acm-icpc","algorithms","codeforces","competitive-programming","cpp","data-structures","topcoder"],"created_at":"2024-11-18T04:50:05.815Z","updated_at":"2025-07-13T10:34:17.242Z","avatar_url":"https://github.com/vndee.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## ***Algorithm templates for competitive programing***\nCopyright 2018 Duy Huynh\n\n[![Join the chat at https://gitter.im/cp-templates/Lobby](https://badges.gitter.im/cp-templates/Lobby.svg)](https://gitter.im/cp-templates/Lobby?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n[![Build Status](https://travis-ci.org/hdi-superuser/cp-templates.svg?branch=master)](https://travis-ci.org/hdi-superuser/cp-templates)\n\n\u003e C++\n\u003e\n- `bigint.cpp`: Big number\n- `BIT.cpp`: Binary Index Tree\n- `bitwise.cpp`: Bitwise tricks\n- `bst_splay.cpp`: BST Splay tree demo\n- `CAT.cpp`: Catalan number\n- `CD.cpp`: Centroid decomposition\n- `CONVEX.cpp`: Convexhull\n- `CPDAG.cpp`: Dynamic programing DAG\n- `datastruct.cpp`: Some important data structure\n- `dijk.cpp`: Dijkstra algorithm\n- `digitdp.cpp`: Dynamic  programing on digit\n- `dinitz.cpp`: Dinitz algorithm\n- `DOPHANTINE.cpp`: Solution for diophantine equation problems using extended gcd\n- `dp.cpp`: More basic dynamic programing problems\n- `edmondkarp.cpp`: Edmonds-Karp algorithm\n- `EXPRESS.cpp`: Calculate an express\n- `geometry.cpp`: Some of geometry\n- `GRAHAM.cpp`: Convexhull using graham scan\n- `graph.cpp`: Some important algorithm for graph\n- `hopcroft_karp.cpp`: Hopcroft - Karp algorithm\n- `HUNGARY.cpp`: Hungary algorithm\n- `INFRPN.cpp`: Cover RPN express from Infix express\n- `input.cpp`: Fast input template C++\n- `IT.cpp`: Segment Tree\n- `IT2D.cpp`: Segment Tree 2D\n- `itline.cpp`: Segement Tree for set of line\n- `KAGAIN.cpp`: Stack tricks\n- `KHCA.cpp`: Articulation point and bridge\n- `KMP.cpp`: Knuth - Pratt - Morris algorithm\n- `MANACHER.h`: Manacher algorithm for palindrome problems\n- `MATCHING.h`: Matching graph\n- `MATCHINGMINCOST.h`: Matching with min cost\n- `match_flow.cpp`: Matching use flow\n- `MATEXP.cpp`: Matrix exponential\n- `matrix.cpp`: Gaussian elimination implement\n- `numtheory.cpp`: Some tricks of number theory\n- `parser.cpp`: Recursive Descent Parser\n- `PRIME.cpp`: Some of prime number\n- `QTREE.cpp`: Heavy - Light decomposition\n- `QTREE3.cpp`: Another version of Heavy - Light decomposition\n- `RMQ.cpp`: Ranger Minimum Query using Sparse Table\n- `splay.cpp`: Splay Tree\n- `strings.cpp`: Some of string\n- `TARJAN.cpp`: Tarjan algorithm for strongly connected component\n- `TEST.cpp`: Test case generation\n- `time.cpp`: Some of time\n- `TOPO.cpp`: Topology sort\n- `TRIE.h`: Trie Tree\n- `TWOSAT`: 2-SAT problems\n- `ZFUNC.h`: Z - function\n\n\u003cp align = \"center\"\u003e\n  \u003cimg src = \"http://cpbook.net/img/cp-logo.png\"\u003e\n  \u003cimg src = \"https://st.codeforces.com/s/28452/images/codeforces-logo-with-telegram.png\"\u003e\n  \u003cimg src = \"https://apps.topcoder.com/i/reskin/logo.png\"\u003e\n  \u003cimg src = \"https://cs.hamilton.edu/wordpress/wp-content/uploads/2016/09/logo.jpg\"\u003e\n  \u003cimg src = \"https://aadityapurani.files.wordpress.com/2015/09/hackerrank-logo.jpg\"\u003e\n  \u003cimg src = \"https://webtoolfeed.files.wordpress.com/2012/03/facebok-hackathon.jpg\"\u003e\n\u003c/p\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvndee%2Falgo-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvndee%2Falgo-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvndee%2Falgo-templates/lists"}