{"id":25016659,"url":"https://github.com/mateusjssilva/competitive-programming","last_synced_at":"2026-05-04T23:37:12.889Z","repository":{"id":259437422,"uuid":"877268280","full_name":"MateusjsSilva/competitive-programming","owner":"MateusjsSilva","description":"This repository contains a variety of competitive programming problems with solutions aimed at improving algorithmic and problem-solving skills. Each problem comes with a clear explanation, efficient solutions in different languages.","archived":false,"fork":false,"pushed_at":"2024-12-23T14:16:18.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-07T20:43:18.042Z","etag":null,"topics":["beecrowd-solutions","competitive-programming","cpp","csharp","java","python"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MateusjsSilva.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":"2024-10-23T11:27:26.000Z","updated_at":"2024-12-23T14:16:21.000Z","dependencies_parsed_at":"2024-10-25T11:43:45.793Z","dependency_job_id":"caffef4b-a27e-4b5d-b892-f4ee2fb94bdf","html_url":"https://github.com/MateusjsSilva/competitive-programming","commit_stats":null,"previous_names":["mateusjssilva/competitive-programming"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MateusjsSilva/competitive-programming","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MateusjsSilva%2Fcompetitive-programming","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MateusjsSilva%2Fcompetitive-programming/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MateusjsSilva%2Fcompetitive-programming/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MateusjsSilva%2Fcompetitive-programming/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MateusjsSilva","download_url":"https://codeload.github.com/MateusjsSilva/competitive-programming/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MateusjsSilva%2Fcompetitive-programming/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32629170,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"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":["beecrowd-solutions","competitive-programming","cpp","csharp","java","python"],"created_at":"2025-02-05T09:54:05.727Z","updated_at":"2026-05-04T23:37:12.873Z","avatar_url":"https://github.com/MateusjsSilva.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Competitive Programming\n\nWelcome to the Competitive Programming repository! This repository contains solutions to various competitive programming problems solved using different algorithms and data structures.\n\n## Purpose\n\nThe main goals of this repository are:\n- To store solutions for problems from competitive programming platforms like Beecrowd, Codeforces, HackerRank, LeetCode, and others.\n- To provide examples of how algorithms and data structures can be applied to solve real-world competitive programming problems.\n- To serve as a learning resource for anyone looking to enhance their problem-solving skills and knowledge of algorithms.\n\n## Repository Structure\n\nThe repository is organized into directories based on platforms or contests. Here's how it's structured:\n\n- Each platform or contest has its own folder.\n- Each problem is stored in its own folder, named after the problem's title or ID.\n- The problem folder contains:\n  - The solution file(s) (e.g., `.cpp`, `.java`, `.py`, `.cs`).\n  - A README or a comment within the code explaining the approach, the algorithm used, and any specific optimizations.\n\n### Problems in the Repository\n\n#### Beecrowd (Java)\n- [1222](./beecrowd/java/1222/Main.java)\n- [1372](./beecrowd/java/1372/Main.java)\n- [1495](./beecrowd/java/1495/Main.java)\n- [1661](./beecrowd/java/1661/Main.java)\n- [1690](./beecrowd/java/1690/Main.java)\n- [2387](./beecrowd/java/2387/Main.java)\n- [2412](./beecrowd/java/2412/Main.java)\n- [2446](./beecrowd/java/2446/Main.java)\n- [2498](./beecrowd/java/2498/Main.java)\n\n#### Beecrowd (C++)\n- [2420](./beecrowd/c++/2420/TerritoryWar.cpp)\n\n## How to Use\n\n1. **Browse the Repository**: Explore the directories to find solutions to various problems.\n2. **Study the Code**: Each solution is written with comments to explain key parts of the algorithm or approach.\n3. **Understand the Approach**: Most problems include a brief explanation of the strategy used to solve them, which can help in understanding the underlying concepts.\n4. **Contribute**: Feel free to contribute by submitting your own solutions or improving existing ones.\n\n## Topics Covered\n\nHere are some of the common topics covered by the problems in this repository:\n\n- Sorting and Searching\n- Graph Algorithms (DFS, BFS, Dijkstra)\n- Dynamic Programming\n- Greedy Algorithms\n- Data Structures (Segment Trees, Fenwick Tree, Union-Find)\n- Mathematics and Number Theory\n- String Manipulation\n- Bit Manipulation\n\n## How to Contribute\n\nContributions are welcome! Here's how you can contribute to the repository:\n\n1. Fork the repository.\n2. Create a new branch for your changes.\n3. Add your code, along with comments and explanations.\n4. Submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Contact\n\nIf you have any questions or suggestions, feel free to open an issue or submit a pull request!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmateusjssilva%2Fcompetitive-programming","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmateusjssilva%2Fcompetitive-programming","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmateusjssilva%2Fcompetitive-programming/lists"}