ã¯ããã« å æ¥ãã¤ãã¿ã¼ã§è¦ãããåã pic.twitter.com/33Yk02hu1U â TOMO (@tomozh) October 14, 2020 ãããããã¨ãããã®ãçãªåå¿ããããããªã®ã§å ·ä½ä¾ãæãã¦ã¿ããã¨ã«ããã ä¾1 æè¬FizzBuzzåé¡ã #include <stdio.h> void fizzbuzz(int n) { int next; int i = 1; do { printf(i % 15 ? i % 5 ? i % 3 ? "%d\n" : "Fizz\n" : "Buzz\n" : "FizzBuzz\n", i); if (i++ >= n) next = 0; } while (next); } int main(void) { printf((char[]){""}); // ãã®ä½ç½®ã«printfãç¡ãã¨ãªããåããªã fizzbuz
{{#tags}}- {{label}}
{{/tags}}