結果
| 問題 |
No.2350 Four Seasons
|
| コンテスト | |
| ユーザー |
Adamantite
|
| 提出日時 | 2023-06-26 20:44:20 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
AC
|
| 実行時間 | 52 ms / 2,000 ms |
| コード長 | 693 bytes |
| コンパイル時間 | 11,495 ms |
| コンパイル使用メモリ | 170,792 KB |
| 実行使用メモリ | 186,024 KB |
| 最終ジャッジ日時 | 2024-07-03 15:45:39 |
| 合計ジャッジ時間 | 12,971 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 10 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (97 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;
namespace A_FourSeasons
{
internal class Program
{
static void Main(string[] args) {
int x = int.Parse(Console.ReadLine());
string result = string.Empty;
switch ((x) / 3) {
case 0:
case 4:
result = "winter";
break;
case 1:
result = "spring";
break;
case 2:
result = "summer";
break;
case 3:
result = "fall";
break;
}
Console.WriteLine(result);
}
}
}
Adamantite