kruppel / codegolf

🏌 Yet another code golf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🏌 Code Golf 🏌

Code-golf is a competition to solve a particular problem in the fewest bytes of source code.

Each language has its own ranking.

Supported languages:

  • py: Python 3.5.2
  • rb: Ruby 2.3.3p222
  • js: Node v6.9.5
  • sh: bash 4.3
  • c: gcc 6.2.1

Fork this repository, write your solution under submission/, and make a pull request.

If the solution is the same, the first submitter will be the winner.

Fizzbuzz Challenge

Write a program that prints the numbers from 1 to the given number from stdin. But for multiples of three print β€œFizz” instead of the number and for the multiples of five print β€œBuzz”.

Run locally before you submit: PROBLEM=Fizzbuzz ./run.rb

Example: Submission stdin/stdout

Submissions: py rb js sh c

About

🏌 Yet another code golf


Languages

Language:Ruby 100.0%