{"id":24926817,"url":"https://github.com/jaytwolab/water-jug-solver","last_synced_at":"2025-03-28T12:26:25.827Z","repository":{"id":271043539,"uuid":"909871089","full_name":"JayTwoLab/water-jug-solver","owner":"JayTwoLab","description":"Measuring 4 Liters: A Classic Water Jug Riddle :kr: 4리터 측정하기: 고전적인 물병 수수께끼","archived":false,"fork":false,"pushed_at":"2024-12-30T00:13:21.000Z","size":80,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T03:07:33.731Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/JayTwoLab.png","metadata":{"files":{"readme":"README.ko.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-12-30T00:00:26.000Z","updated_at":"2024-12-31T07:51:46.000Z","dependencies_parsed_at":"2025-01-05T03:12:16.287Z","dependency_job_id":"8f88839e-55af-48de-8b96-e4ed5f1025e2","html_url":"https://github.com/JayTwoLab/water-jug-solver","commit_stats":null,"previous_names":["jaytwolab/water-jug-solver"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayTwoLab%2Fwater-jug-solver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayTwoLab%2Fwater-jug-solver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayTwoLab%2Fwater-jug-solver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayTwoLab%2Fwater-jug-solver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JayTwoLab","download_url":"https://codeload.github.com/JayTwoLab/water-jug-solver/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246028501,"owners_count":20712031,"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":[],"created_at":"2025-02-02T12:53:25.824Z","updated_at":"2025-03-28T12:26:25.768Z","avatar_url":"https://github.com/JayTwoLab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 4리터 측정하기: 고전적인 물병 수수께끼\n\n\u003e [English](README.md) , [Korean](README.ko.md)\n\n## 수수께끼\n\n\u003cimg width=\"50%\" src=\"die-hard-water-jugs.jpg\" /\u003e \n\n- 두 개의 물병이 있습니다:\n   - 5리터 물병과 3리터 물병.\n- 이 두 물병을 사용해 정확히 4리터의 물을 만들려면 어떻게 해야 할까요?\n\n## 알고리즘\n- 각 물병의 현재 상태(물의 양)를 정의합니다.\n- 가능한 물 붓기 동작(채우기, 비우기, 물 붓기)을 시뮬레이션합니다.\n- 상태를 반복하지 않도록 방문한 상태를 저장합니다.\n- 목표 상태(한 병에 정확히 4리터)를 찾으면 종료합니다.\n\n## 코드\n\n- [water-problem.py](water-problem.py)\n\n## 블로그\n- https://j2doll.tistory.com/1066\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaytwolab%2Fwater-jug-solver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaytwolab%2Fwater-jug-solver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaytwolab%2Fwater-jug-solver/lists"}