Code Monkey home page Code Monkey logo

shortest-fizzbuzz's Issues

Perl 5 shortest fizzbuzz

Sometime ago I wrote a perl 5 fizzbuzz. In revisiting the challenge have been able to reduce the program size to 51 bytes
warn"Fizz"x!($%3)."Buzz"x!($%5)||$_,$/for 1..100;
Note unlike perl 6, "say" cannot be used to save an extra byte as it is not inbuilt.

The code is also in the attached .txt file
fp51.txt

R solution should be invalidated

Hi, the solution written in R is not really making the fizzbuzz by itself, it imports a package which does it, I think it shouldn't be valid.

Please review it.

I'd be equivalent of making this in another lang:

import fizzbuzz;
fizzbuzz.do();

It makes no sense, the code exists but in another place.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.