結果

問題 No.2350 Four Seasons
ユーザー tkjytkjy
提出日時 2024-01-16 21:04:37
言語 C#
(.NET 8.0.203)
結果
WA  
実行時間 -
コード長 385 bytes
コンパイル時間 6,859 ms
コンパイル使用メモリ 157,704 KB
実行使用メモリ 177,908 KB
最終ジャッジ日時 2024-01-16 21:04:46
合計ジャッジ時間 8,335 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.csproj を復元しました (96 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==4) && (x==5))
	{Console.WriteLine("spring");}

	else if((x == 6) && (x==7) && (x==8))
	{Console.WriteLine("summer");}

	else if((x == 9) && (x==10) && (x==11))
	{Console.WriteLine("fall");}

	else if((x == 12) && (x==1) && (x==2))
	{Console.WriteLine("winter");}
	}
}
0