ã³ã¼ããµã³ãã«ã«ããåºã¦ãã FizzBuzz ã ãããã飽ããããã俺ã¯ãããã NabeAtzz ã§è¡ããã¨æãã use strict; use warnings; use Encode; use Lingua::JA::Numbers; for my $num ( 1 .. 40 ) { print((!($num % 3) || $num =~ /3/ ? encode('utf8', num2ja($num, +{ style => "hiragana" })) : $num), "\n"); } æå¾ ããçµæ: å®è¡çµæ: % ./NabeAtzz.pl 1 2 ãã 4 5 ãã 7 8 ãã ã 10 11 ãã ãã« ãã ããã 14 ãã ãã 16 17 ãã ãã¯ã¡ 19 20 ã«ãã ããã¡ 22 ã«ãã ããã ã«ãã ããã 25 26 ã«ãã ããªãª 28 29 ãããã
{{#tags}}- {{label}}
{{/tags}}