shortest-fizzbuzz

所属分类:其他
开发工具:Swift
文件大小:0KB
下载次数:0
上传日期:2023-11-13 13:25:48
上 传 者sh-1993
说明:  包含各种编程语言中的fizzbuzz的最短解决方案
(Contains shortest solutions to fizzbuzz in various programming languages)

文件列表:
C++.cpp (231, 2023-11-13)
C.c (104, 2023-11-13)
Dart.dart (124, 2023-11-13)
Elm.elm (297, 2023-11-13)
Go.go (330, 2023-11-13)
Java.java (106, 2023-11-13)
JavaScript.js (65, 2023-11-13)
PHP.php (244, 2023-11-13)
Perl6.pl (53, 2023-11-13)
Python2.py (59, 2023-11-13)
Python3.py (61, 2023-11-13)
R.R (110, 2023-11-13)
Ruby.rb (69, 2023-11-13)
Rust.rs (174, 2023-11-13)
Scheme.scm (433, 2023-11-13)
Swift.swift (478, 2023-11-13)
clisp.lisp (250, 2023-11-13)

# shortest-fizzbuzz #### Contains shortest solutions to fizzbuzz in various programming languages ** ** ## Rules: "Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”." To learn more and see clean versions, see: https://wiki.c2.com/?FizzBuzzTest ** ** ## Languages: - [C](https://github.com/rsha256/shortest-fizzbuzz/blob/master/C.c), 104 bytes - [C++](https://github.com/rsha256/shortest-fizzbuzz/blob/master/C++.cpp), 231 bytes - [Dart](https://github.com/rsha256/shortest-fizzbuzz/blob/master/Dart.dart), 124 bytes - [Elm](https://github.com/rsha256/shortest-fizzbuzz/blob/master/Elm.elm), 297 bytes - [Go](https://github.com/rsha256/shortest-fizzbuzz/blob/master/Go.go), 330 bytes - [Java](https://github.com/rsha256/shortest-fizzbuzz/blob/master/Java.java), 106 bytes - [JavaScript](https://github.com/rsha256/shortest-fizzbuzz/blob/master/JavaScript.js), 64 bytes - [Perl6](https://github.com/rsha256/shortest-fizzbuzz/blob/master/Perl6.pl), 54 bytes - [PHP](https://github.com/rsha256/shortest-fizzbuzz/blob/master/PHP.php), 244 bytes - [Python2](https://github.com/rsha256/shortest-fizzbuzz/blob/master/Python2.py), 59 bytes - [Python3](https://github.com/rsha256/shortest-fizzbuzz/blob/master/Python3.py), 61 bytes - [R](https://github.com/rsha256/shortest-fizzbuzz/blob/master/R.R),110 bytes - [Ruby](https://github.com/rsha256/shortest-fizzbuzz/blob/master/Ruby.rb), 69 bytes - [Rust](https://github.com/rsha256/shortest-fizzbuzz/blob/master/Rust.rs),174 bytes - [Scheme](https://github.com/rsha256/shortest-fizzbuzz/blob/master/Scheme.scm), 433 bytes - [Swift](https://github.com/rsha256/shortest-fizzbuzz/blob/master/Swift.swift), 578 bytes ## Contributing: 1. Alphabetically add your addition here to [README.md](https://github.com/rsha256/shortest-fizzbuzz/blob/master/README.md) in the format `[](https://github.com/rsha256/shortest-fizzbuzz/blob/master/), bytes`. GitHub tells you the number of **bytes** for any file. 2. Add a file to the root of the repo in the form of: `.` that satisfies the rules above. ## Notes: Try to write a detailed commit message. If possible make sure you end your file with a newline at the end and are using LF as opposed to CRLF Line sequences. Feel free to improve on existing solutions if you can do better :)

近期下载者

相关文件


收藏者