結果
| 問題 | No.2350 Four Seasons |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-01-16 21:07:18 |
| 言語 | C# (.NET 10.0.201) |
| 結果 |
AC
|
| 実行時間 | 71 ms / 2,000 ms |
| コード長 | 385 bytes |
| 記録 | |
| コンパイル時間 | 6,771 ms |
| コンパイル使用メモリ | 171,768 KB |
| 実行使用メモリ | 192,420 KB |
| 最終ジャッジ日時 | 2026-04-14 19:49:44 |
| 合計ジャッジ時間 | 7,854 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 10 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (96 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net10.0/main.dll main -> /home/judge/data/code/bin/Release/net10.0/publish/
ソースコード
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");}
}
}