{"id":19194858,"url":"https://github.com/aniketwithpython/10-digit-number","last_synced_at":"2026-06-17T08:31:12.170Z","repository":{"id":248104500,"uuid":"827770344","full_name":"AniketWithPython/10-digit-number","owner":"AniketWithPython","description":"Code for solution","archived":false,"fork":false,"pushed_at":"2024-07-12T16:30:11.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-23T04:34:30.385Z","etag":null,"topics":["rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/AniketWithPython.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-07-12T10:37:27.000Z","updated_at":"2024-07-12T16:31:37.000Z","dependencies_parsed_at":"2024-07-12T12:23:52.939Z","dependency_job_id":"397ce498-ff8f-40cf-b791-214be1e52ea7","html_url":"https://github.com/AniketWithPython/10-digit-number","commit_stats":null,"previous_names":["aniketwithpython/10-digit-number"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AniketWithPython/10-digit-number","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AniketWithPython%2F10-digit-number","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AniketWithPython%2F10-digit-number/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AniketWithPython%2F10-digit-number/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AniketWithPython%2F10-digit-number/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AniketWithPython","download_url":"https://codeload.github.com/AniketWithPython/10-digit-number/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AniketWithPython%2F10-digit-number/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34441282,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"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":["rust"],"created_at":"2024-11-09T12:06:27.350Z","updated_at":"2026-06-17T08:31:12.155Z","avatar_url":"https://github.com/AniketWithPython.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 10-digit-number\n## Problem\nThe Problem statement goes as follows:\n\n\u003ci\u003eFind a 10 digit number such that\n\nThe first digit gives the number of zeros in the number\n\nThe second digit gives the number of ones in the number\n\nThe third digit gives the number of twos in the number\n\nThe fourth digit gives the number of threes in the number\n\nThe fifth digit gives the number of fours in the number\n\nThe sixth digit gives the number of fives in the number\n\nThe seventh digit gives the number of sixes in the number\n\nThe eighth digit gives the number of sevens in the number\n\nThe ninth digit gives the number of eights in the number\n\nThe tenth digit gives the number of nines in the number\u003c/i\u003e\n\n## Rust solution\nThis solution uses a brute-force approach and parallelism to achieve the result\u003csup\u003e*\u003c/sup\u003e. Parallelism is achieved using [rayon](https://docs.rs/rayon/latest/rayon/).\n\n## Answer\n```\n6210001000\n```\n\n\u003e ©Aniket Maity 2024\n\n\u003e \\* Performance may vary depending on system.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faniketwithpython%2F10-digit-number","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faniketwithpython%2F10-digit-number","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faniketwithpython%2F10-digit-number/lists"}