{"id":25168919,"url":"https://github.com/swapnilsachan03/codeforces","last_synced_at":"2025-04-03T19:18:33.206Z","repository":{"id":225380504,"uuid":"748496791","full_name":"swapnilsachan03/codeforces","owner":"swapnilsachan03","description":"Solutions to all the problems that I solve on Codeforces.","archived":false,"fork":false,"pushed_at":"2025-02-21T04:05:17.000Z","size":91,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-21T05:18:52.648Z","etag":null,"topics":["algorithms","codeforces","data-structures"],"latest_commit_sha":null,"homepage":"https://codeforces.com/profile/swapnilsachan03","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/swapnilsachan03.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":"2024-01-26T05:09:25.000Z","updated_at":"2025-02-21T04:05:21.000Z","dependencies_parsed_at":"2024-03-09T18:44:46.777Z","dependency_job_id":"90516bdc-82ea-40e3-b43d-d396981d6de9","html_url":"https://github.com/swapnilsachan03/codeforces","commit_stats":null,"previous_names":["swapnilsachan03/codeforces"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swapnilsachan03%2Fcodeforces","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swapnilsachan03%2Fcodeforces/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swapnilsachan03%2Fcodeforces/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swapnilsachan03%2Fcodeforces/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swapnilsachan03","download_url":"https://codeload.github.com/swapnilsachan03/codeforces/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247061885,"owners_count":20877176,"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","codeforces","data-structures"],"created_at":"2025-02-09T07:19:57.467Z","updated_at":"2025-04-03T19:18:33.200Z","avatar_url":"https://github.com/swapnilsachan03.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swapnil's Codeforces Solutions\n\nThis repository contains my solutions to various Codeforces problems that I have solved. The solutions are mostly implemented in C++.\n\n## 📂 Repository Structure\n\n- `/` - Contains all my solutions categorized by problem ID.\n- `cph/` - Includes input-output test cases for cph.\n- `.gitignore` - Specifies intentionally untracked files to ignore.\n- `README.md` - This file.\n\n## 🚀 How to Use\n\n1. **Clone the repository**\n   ```sh\n   git clone https://github.com/swapnilsachan03/codeforces.git\n   cd codeforces\n   ```\n\n2. **Read a problem solution**\n   ```sh\n   A_Buttons  # Example: Problem - 1858A - Buttons\n   ```\n\n3. **Compile and Run (C++ Example)**\n   ```sh\n   g++ -std=c++17 -O2 -Wall A_Buttons.cpp -o A_Buttons.out\n   ./A_Buttons.out \u003c testcases/A_Buttons_input.txt \u003e output.txt\n   ```\n\n   *__or__* you can install *__cph extension in VS Code__*, the repository contains all the testcase files for every problem which cph needs to run the code.\n\n## 📝 Must-Try Codeforces Problems\nHere is a list of problems that I believe everyone should try to improve their problem-solving skills:\n\n### **Rated A/B (Beginner Level)**\n- 4A - Watermelon\n- 71A - Way Too Long Words\n- 231A - Team\n- 282A - Bit++\n- 112A - Petya and Strings\n\n### **Rated C/D (Intermediate Level)**\n- 327A - Flipping Game\n- 514C - Watto and Mechanism\n- 580C - Kefa and Park (Graph)\n- 1102C - Doors Breaking and Repairing\n- 118D - Caesar's Legions (DP)\n\n### **Rated D+ (Advanced Level)**\n- 466C - Number of Ways (Prefix Sum)\n- 519D - A and B and Interesting Substrings\n- 580D - Kefa and Dishes (Bitmask DP)\n- 609E - Minimum spanning tree for each edge\n- 1140G - Two Different (Graph Theory)\n\n## ⭐ Contributions\nThis is a personal repository, but if you find a bug or a better approach to a problem, feel free to open an issue or submit a pull request!\n\n## 📜 License\nThis repository is for educational purposes. Feel free to use the solutions for learning, but do not use them for cheating in contests.\n\nHappy Coding! 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswapnilsachan03%2Fcodeforces","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswapnilsachan03%2Fcodeforces","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswapnilsachan03%2Fcodeforces/lists"}