結果

問題 No.9002 FizzBuzz(テスト用)
ユーザー yuzyayuzya
提出日時 2021-08-19 01:20:46
言語 Go
(1.22.1)
結果
WA  
実行時間 -
コード長 245 bytes
コンパイル時間 12,503 ms
コンパイル使用メモリ 229,460 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-04-20 04:06:04
合計ジャッジ時間 12,924 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

package main

import "fmt"

func main() {
	var n int
	fmt.Scan(&n)

	switch {
	case n%15 == 0:
		fmt.Println("FizzBuzz")
	case n%3 == 0:
		fmt.Println("Fizz")
	case n%5 == 0:
		fmt.Println("Buzz")
	default:
		fmt.Println(n)
	}

	fmt.Println()
}
0