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.
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