結果

問題 No.9002 FizzBuzz(テスト用)
ユーザー k022c0054
提出日時 2024-05-17 14:48:14
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 302 bytes
コンパイル時間 105 ms
コンパイル使用メモリ 27,648 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-12-20 11:44:55
合計ジャッジ時間 545 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main(void) {
        int n;
        scanf("%d", &n);
        if (n % 3 == 0 && n % 5 == 0) {
                printf("FizzBuzz\n");
        } else if (n % 3 == 0) {
                printf("Fizz\n");
        } else {
                printf("Buzz\n");
        }
        return 0;
}
0