結果

問題 No.2350 Four Seasons
ユーザー yukster714yukster714
提出日時 2023-12-31 12:03:51
言語 C#
(.NET 8.0.203)
結果
AC  
実行時間 67 ms / 2,000 ms
コード長 400 bytes
コンパイル時間 6,788 ms
コンパイル使用メモリ 158,708 KB
実行使用メモリ 178,524 KB
最終ジャッジ日時 2023-12-31 12:04:01
合計ジャッジ時間 8,551 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 56 ms
30,884 KB
testcase_01 AC 55 ms
30,884 KB
testcase_02 AC 55 ms
30,884 KB
testcase_03 AC 67 ms
30,884 KB
testcase_04 AC 56 ms
30,884 KB
testcase_05 AC 56 ms
30,884 KB
testcase_06 AC 64 ms
30,884 KB
testcase_07 AC 56 ms
30,884 KB
testcase_08 AC 58 ms
30,884 KB
testcase_09 AC 56 ms
30,884 KB
testcase_10 AC 57 ms
30,884 KB
testcase_11 AC 56 ms
178,524 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.csproj を復元しました (136 ms)。
MSBuild のバージョン 17.7.3+8ec440e68 (.NET)
  main -> /home/judge/data/code/bin/Release/net7.0/main.dll
  main -> /home/judge/data/code/bin/Release/net7.0/publish/

ソースコード

diff #

using System;
class Program{
    static void Main(){
        int x = int.Parse(Console.ReadLine());
        if(x >= 3 && x <= 5){
            Console.WriteLine("spring");
        } else if (x >= 6 && x <= 8){
             Console.WriteLine("summer");
        } else if (x>=9 && x<=11){
            Console.WriteLine("fall");
        } else{
            Console.WriteLine("winter");
        }
    }
}
0