codingtests/Generic/FIZZBUZZ/desc.yml

21 lines
600 B
YAML
Raw Normal View History

2012-03-01 12:40:45 +00:00
title: FizzBuzz
url: http://projecteuler.net/problem=1
desc: |
The classical coding challenge. Write a program that prints the numbers from 1 to 100. But for multiples of three print <20>Fizz<7A> instead of the number and for the multiples of five print <20>Buzz<7A>. For numbers which are multiples of both three and five print <20>FizzBuzz<7A>.
solution: |
See the code...
solutions:
solve.php:
desc: Basic solution
usage:
language: php
solve.rb:
desc: Basic solution in Ruby
language: ruby
solve.c:
desc: ANSI C solution (Tested with TCC)
language: c