{"id":25239394,"url":"https://github.com/crafterkolyan/competitive-programming-algorithms","last_synced_at":"2025-04-05T19:43:26.983Z","repository":{"id":87594025,"uuid":"176162684","full_name":"CrafterKolyan/competitive-programming-algorithms","owner":"CrafterKolyan","description":"This repository contains algorithms for competitive programming. It was created in order to fix wrong codes on E-maxx.","archived":false,"fork":false,"pushed_at":"2019-06-25T06:12:37.000Z","size":1457,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-11T18:34:02.524Z","etag":null,"topics":["algorithms","competitive-programming","cpp"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CrafterKolyan.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":"2019-03-17T21:25:23.000Z","updated_at":"2019-06-25T06:12:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"8eb1cfa4-b90e-4068-b08c-4bbcb30378b6","html_url":"https://github.com/CrafterKolyan/competitive-programming-algorithms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrafterKolyan%2Fcompetitive-programming-algorithms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrafterKolyan%2Fcompetitive-programming-algorithms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrafterKolyan%2Fcompetitive-programming-algorithms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrafterKolyan%2Fcompetitive-programming-algorithms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CrafterKolyan","download_url":"https://codeload.github.com/CrafterKolyan/competitive-programming-algorithms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247393536,"owners_count":20931809,"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":["algorithms","competitive-programming","cpp"],"created_at":"2025-02-11T18:27:44.881Z","updated_at":"2025-04-05T19:43:26.978Z","avatar_url":"https://github.com/CrafterKolyan.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Competitive Programming Algorithms\n[![Build Status](https://img.shields.io/travis/com/CrafterKolyan/competitive-programming-algorithms/master.svg?label=tests)](https://travis-ci.com/CrafterKolyan/competitive-programming-algorithms)\n![Last commit](https://img.shields.io/github/last-commit/CrafterKolyan/competitive-programming-algorithms.svg?)\n[![License](https://img.shields.io/github/license/CrafterKolyan/competitive-programming-algorithms.svg?color=blue)](LICENSE)\n\nThis repository contains algorithms for competitive programming. It was created in order to fix wrong codes on E-maxx.\n\n## Testing\nFor now we use googletest (gtest) [v1.8.1](https://github.com/google/googletest/releases/tag/release-1.8.1) as an automatic test system.\n\nAlso we use [Travis CI](https://travis-ci.com/) to provide automatic testing of all branches (see tests badge on top).\n\nMore info: [cpp/tests/README.md](cpp/tests/README.md)\n\n## Coding Style Convention\nWe use [Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html)\nwith some exceptions:\n1. **Source files have `.cpp` extension rather than `.cc`** \u003cbr /\u003e\nAs this code can be used by beginners and `.cpp` extension is the most popular we don't want to\ncreate additional difficulties in understanding where the code is placed (and why do we use `.cc` extension).\n2. **No need to create header (`.h`) files.** \u003cbr /\u003e\nWe want to keep structure as simple as possible.\nOne source file with implementation and one with tests.\nIt should be possible to copy an implementation and paste it anywhere.\n3. **Possibility of including source (`.cpp`) files** \u003cbr /\u003e\nThis is due to previous exception.\u003cbr /\u003e\nAs the wording is complicated we provide an example:\u003cbr /\u003e\n`#include \"../binary_power/binary_power_tests.cpp\"`\n4. **Identation is 4 spaces instead of 2 spaces**\u003cbr /\u003e\nCode in this repository shouldn't have big nesting inside it.\u003cbr /\u003e\n4 spaces is more often used by beginners than 2 spaces.\u003cbr /\u003e\nAlso you can see much clearer where each block of code goes (this is created out of thin air).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrafterkolyan%2Fcompetitive-programming-algorithms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrafterkolyan%2Fcompetitive-programming-algorithms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrafterkolyan%2Fcompetitive-programming-algorithms/lists"}