{"id":21968943,"url":"https://github.com/akhilsharmaa/competitive-programming-sublime","last_synced_at":"2025-08-04T05:37:52.253Z","repository":{"id":119851460,"uuid":"586242834","full_name":"akhilsharmaa/Competitive-Programming-Sublime","owner":"akhilsharmaa","description":"Sublime template @akhilsharmaa, auto-completions file ","archived":false,"fork":false,"pushed_at":"2024-10-16T17:19:53.000Z","size":528,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-23T04:35:23.704Z","etag":null,"topics":["build","competitive-programming","cpp","osx-setup","sublime-text"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"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/akhilsharmaa.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,"zenodo":null}},"created_at":"2023-01-07T13:00:19.000Z","updated_at":"2024-10-16T17:19:57.000Z","dependencies_parsed_at":"2024-05-04T12:22:58.980Z","dependency_job_id":"cfc85f83-9146-4c66-bac3-b3cbc61abaf8","html_url":"https://github.com/akhilsharmaa/Competitive-Programming-Sublime","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/akhilsharmaa/Competitive-Programming-Sublime","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhilsharmaa%2FCompetitive-Programming-Sublime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhilsharmaa%2FCompetitive-Programming-Sublime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhilsharmaa%2FCompetitive-Programming-Sublime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhilsharmaa%2FCompetitive-Programming-Sublime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akhilsharmaa","download_url":"https://codeload.github.com/akhilsharmaa/Competitive-Programming-Sublime/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akhilsharmaa%2FCompetitive-Programming-Sublime/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268655096,"owners_count":24285128,"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","status":"online","status_checked_at":"2025-08-04T02:00:09.867Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["build","competitive-programming","cpp","osx-setup","sublime-text"],"created_at":"2024-11-29T14:04:49.319Z","updated_at":"2025-08-04T05:37:52.228Z","avatar_url":"https://github.com/akhilsharmaa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":" ## My Competitve Programming ` C++ Templates ` setup - OSX\n[![Codeforces](https://badges.riever.dev/codeforces/akhilsharmaa.svg)](https://codeforces.com/profile/akhilsharmaa)\n[![AtCoder](https://badges.riever.dev/atcoder/akhilsharma.svg)](https://atcoder.jp/users/akhilsharma)\n\n\n\u003cdiv align=\"center\"\u003e\n\u003c!--   \u003cimg src=\"https://user-images.githubusercontent.com/74103314/211152845-5c4f82d9-d044-4f76-80a1-f276cb7aad65.gif\" width=\"700\" height=\"400\"/\u003e --\u003e\n\u003c/div\u003e\n\n\nhttps://github.com/user-attachments/assets/d806caf1-d3e9-48a9-b325-3278bf3f186c\n\n\n\n\n### C++ `templates` file links : \n\nThese are my some *templates(sublime supported)* : \n### Basics\n- [main()](./akhilsharmaa.sublime-snippet) - **main()** function, #defines, constants(MOD, N, INF) etc. \n- [Pow(n, k)](./binpow.sublime-snippet) - find `n^k` in O(log n) with MOD\n- [Combinatorics](./combinatorics-arithmetic.sublime-snippet) - includes  **nCr(n,r),  nPr(n, r), inv(), divide(), factorial()...**\n- [factorial()](./factorial.sublime-snippet) - initilize globally **(N!)** `int fact[N];`for accessing factorial of num. \n- [isPrime()](./isPrime-sieveofE.sublime-snippet) - initilize globally  `int isPrime[N];`for accessing `N` is prime or non-prime. using the *sieve of eratosthenes*. \n- [prefixSum()](./prefixSum.sublime-snippet) - returns `vector\u003cint\u003e` of prefix of the vector array.\n- [2DmatrixPrefixSum()](./matrixPrefixSum.sublime-snippet) - Build the prefix sum 2D matrix (size of matrix = (n+1) x (m+1))\n\n### Good \n- [Graph()](./graph-all-function.sublime-snippet) - BFS, Dijkstra.. all Graph algo \n- [dfs()](./dfs.sublime-snippet) - Graph **Depth** first search algorithm template\n- [Dijkstra()](./DijkstraAlgo.sublime-snippet) - Shortest Path Algorithm using **priority_queue** of STL \n- [isBipartiteDFS()](./isBipartite-DFS.sublime-snippet) - Check whether the graph can divided into bipartite graph \n- [SegmentTree()](./SegmentTree.sublime-snippet) - implementation of segment tree data-structure \n- [SparseTable()](./SparseTable.sublime-snippet) - implementation of Sparse Table (minQuery) data-structure \n\n( I suggest to take references from this and **try to create your own template** it will take time but worth it. )\n\n### Auto completition file [cpp.sublime-completions](https://github.com/akhilsharmaa/Competitive-Programming-SETUP/blob/main/cpp.sublime-completions)\nMove this file at: ```/Sublime Text/Packages/User/cpp.sublime-completions``` Add your own auto-completion snippets. *Easy to add :)*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakhilsharmaa%2Fcompetitive-programming-sublime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakhilsharmaa%2Fcompetitive-programming-sublime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakhilsharmaa%2Fcompetitive-programming-sublime/lists"}