Git Product home page Git Product logo

👻👻
who ya gonna call?

ngng628 ngng628

manjaro

$\mathcal{Who\ am\ I?}$

$\mathcal{GitHub\ Stats}$

$\mathcal{Fizz Buzz}$

n = (1..100).select { |i| i % 3 == 0 }.map { |i| { i, "Fizz" } }
g = (1..100).select { |i| i % 5 == 0 }.map { |i| { i, "Buzz" } }
n = n.concat(g).group_by(&.[0]).map { |i, s| {i, s.sum("", &.[1])} }
g = n.concat([*(1..100)].map{ |i| {i, i.to_s} }).uniq(&.[0]).sort.map(&.[1]); puts [
6_2,8].map(&.chr).join + g.join(" ") # => 1 2 Fizz 4 Buzz Fizz 7 8 Fizz Buzz 11 Fizz 13 14 FizzBuzz ...

ngng628's Projects

ac-library.cr icon ac-library.cr

Port of ac-library implemented in Crystal Programming Language

atcoder-submit-status icon atcoder-submit-status

競技プログラミングのコンテストサイトの順位表をCLI上で確認するためのツール

avltree icon avltree

An implement of SortedSet, SortedMap and SortedMultiset using AVL tree.

cppcli icon cppcli

C++でCLIアプリを作るとき便利なライブラリ

font icon font

UNIX環境で使えるC++版colorama

procon30-gui icon procon30-gui

第30回全国高等専門学校プログラミングコンテストの競技部門「踊って舞って回って」のGUIアプリです。

sl-xmas icon sl-xmas

クリスマス版SLコマンドっぽいPythonスクリプト

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.