{"id":16970694,"url":"https://github.com/h-sinha/codeforces-hacking-script","last_synced_at":"2026-05-01T06:32:55.267Z","repository":{"id":45440084,"uuid":"229002313","full_name":"h-sinha/Codeforces-Hacking-Script","owner":"h-sinha","description":"Automates the process of hacking solutions in Codeforces Educational rounds.","archived":false,"fork":false,"pushed_at":"2022-12-08T03:21:40.000Z","size":29,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-29T19:16:22.948Z","etag":null,"topics":["beautifulsoup4","chromedriver","codeforces","selenium"],"latest_commit_sha":null,"homepage":"","language":"Python","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/h-sinha.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}},"created_at":"2019-12-19T07:45:36.000Z","updated_at":"2024-03-18T08:47:38.000Z","dependencies_parsed_at":"2023-01-24T07:30:36.291Z","dependency_job_id":null,"html_url":"https://github.com/h-sinha/Codeforces-Hacking-Script","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/h-sinha/Codeforces-Hacking-Script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h-sinha%2FCodeforces-Hacking-Script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h-sinha%2FCodeforces-Hacking-Script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h-sinha%2FCodeforces-Hacking-Script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h-sinha%2FCodeforces-Hacking-Script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/h-sinha","download_url":"https://codeload.github.com/h-sinha/Codeforces-Hacking-Script/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h-sinha%2FCodeforces-Hacking-Script/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32487418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["beautifulsoup4","chromedriver","codeforces","selenium"],"created_at":"2024-10-14T00:28:59.941Z","updated_at":"2026-05-01T06:32:55.251Z","avatar_url":"https://github.com/h-sinha.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Codeforces Hacking Script\nAutomates the process of hacking solutions in Codeforces Educational rounds.\n# Requirements \nRefer to [requirements.txt](../master/requirements.txt)\n# How to use?\n* Enter your test case in input.txt. \u003cbr/\u003e \u003cb\u003e Note \u003c/b\u003e\n    * Avoid using extra spaces/newline in the end\n    * The maximum size of the test file can be 256KB due to upload limit on codeforces\n* Enter expected output in output.txt\n* If the problem requires custom checker(e.g.- Case insensitive) then update the Checker function in [checker.py](../master/checker.py). The current checker does character by character matching.\n* Run the script using \n```\npython3 main.py\n```\n\n* Enter your codeforces handle, password, contest id and problem id\n```\nEnter your handle/email = coder_h\nEnter password = ************\nEnter contest id = 1283\nEnter problem id = C\n```\n# How it works?\n* The script fetches all the accepted submissions for the problem.\n* Runs each code on the given test case using Codeforces' custom invocation.\n* Compares the expected output and output given by the code.\n* If the outputs don't match, the script hacks the solution.\n\n# Note\n* The script runs in background. If you wish to see how it actually works, comment line no. 20 in main.py.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh-sinha%2Fcodeforces-hacking-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh-sinha%2Fcodeforces-hacking-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh-sinha%2Fcodeforces-hacking-script/lists"}