{"id":17037182,"url":"https://github.com/bast/fizz-buzz","last_synced_at":"2026-02-18T09:02:46.511Z","repository":{"id":72325630,"uuid":"76174316","full_name":"bast/fizz-buzz","owner":"bast","description":"Superseded by https://github.com/bast/calculator.","archived":false,"fork":false,"pushed_at":"2017-02-19T09:15:04.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-20T12:33:12.391Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"FORTRAN","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bast.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2016-12-11T12:56:55.000Z","updated_at":"2017-11-08T21:45:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"af9d0e59-218c-44ef-8ee7-602f2ec388d6","html_url":"https://github.com/bast/fizz-buzz","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bast/fizz-buzz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bast%2Ffizz-buzz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bast%2Ffizz-buzz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bast%2Ffizz-buzz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bast%2Ffizz-buzz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bast","download_url":"https://codeload.github.com/bast/fizz-buzz/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bast%2Ffizz-buzz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29574065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T08:38:15.585Z","status":"ssl_error","status_checked_at":"2026-02-18T08:38:14.917Z","response_time":162,"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":[],"created_at":"2024-10-14T08:53:04.600Z","updated_at":"2026-02-18T09:02:46.496Z","avatar_url":"https://github.com/bast.png","language":"FORTRAN","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License](https://img.shields.io/badge/license-%20poetic-blue.svg)](../master/LICENSE.md)\n\n\n# fizz-buzz\n\nExercise to practice building projects with [CMake](https://cmake.org).\n\n\n## Background\n\nInspired by a [Project Euler exercise](https://projecteuler.net/problem=1) and\nbased on the [popular game](https://en.wikipedia.org/wiki/Fizz_buzz) and\npopular programming job interview question where you have to say/print \"Fizz\" if a\nnatural number is divisible by 3 and \"Buzz\" if it is divisible by 5:\n\n```\n1\n2\nFizz\n4\nBuzz\nFizz\n7\n8\nFizz\nBuzz\n11\nFizz\n13\n14\nFizz Buzz\n...\n```\n\nWe wish to build a code which computes the \"Fizz-buzz sum\" for a given natural\nnumber N, summing all natural numbers \u003c= N which are multiples of 3 or 5. For\nN=10 the sum is 3+5+6+9+10 = 33.\n\nThe source code and unit tests are there:\n\n```shell\n.\n|-- LICENSE.md\n|-- README.md\n|-- src\n|   |-- divisible.f90\n|   |-- fizz_buzz.f90\n|   |-- fizz_buzz.h\n|   `-- main.cpp\n`-- test\n    |-- fizz_buzz.cpp\n    `-- main.cpp\n```\n\n\n## Tasks\n\n- Build a shared library.\n- Build and link the main program.\n- Build the unit tests and link against [Google Test](https://github.com/google/googletest).\n- Define a version number inside CMake and print it to the output of the executable.\n- Print the Git hash to the output of the executable.\n- Create an installer so the program can be installed properly (GNU standards).\n- Create a DEB or RPM package (if relevant for your distribution).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbast%2Ffizz-buzz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbast%2Ffizz-buzz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbast%2Ffizz-buzz/lists"}