結果
| 問題 |
No.2350 Four Seasons
|
| コンテスト | |
| ユーザー |
yukster714
|
| 提出日時 | 2023-12-31 12:03:51 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
AC
|
| 実行時間 | 56 ms / 2,000 ms |
| コード長 | 400 bytes |
| コンパイル時間 | 8,867 ms |
| コンパイル使用メモリ | 170,440 KB |
| 実行使用メモリ | 184,684 KB |
| 最終ジャッジ日時 | 2024-09-27 17:03:44 |
| 合計ジャッジ時間 | 9,515 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 10 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (118 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(){
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");
}
}
}
yukster714