結果
| 問題 | 
                            No.9002 FizzBuzz(テスト用)
                             | 
                    
| ユーザー | 
                             | 
                    
| 提出日時 | 2022-07-11 22:00:14 | 
| 言語 | C#  (.NET 8.0.404)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 566 bytes | 
| コンパイル時間 | 20,821 ms | 
| コンパイル使用メモリ | 170,020 KB | 
| 実行使用メモリ | 184,808 KB | 
| 最終ジャッジ日時 | 2024-06-22 16:41:49 | 
| 合計ジャッジ時間 | 17,097 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | WA * 4 | 
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (115 ms)。 MSBuild のバージョン 17.9.6+a4ecab324 (.NET) main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
using System;
class Program
{
    static void Main()
    {
        var i = int.Parse(Console.ReadLine());
        for(int x = 1; x < i; x++ )
        {
            if (x % 15 == 0)
            {
                Console.WriteLine("FizzBuzz");
            }
            else if (x % 3 == 0)
            {
                Console.WriteLine("Fizz");
            }
            else if (x % 5 == 0)
            {
                Console.WriteLine("Buzz");
            }
            else
            {
                Console.WriteLine(x);
            }
        }
    }
}