結果
| 問題 | No.2350 Four Seasons |
| コンテスト | |
| ユーザー |
Adamantite
|
| 提出日時 | 2023-06-26 20:44:20 |
| 言語 | C# (.NET 10.0.102) |
| 結果 |
AC
|
| 実行時間 | 71 ms / 2,000 ms |
| コード長 | 693 bytes |
| 記録 | |
| コンパイル時間 | 11,168 ms |
| コンパイル使用メモリ | 173,636 KB |
| 実行使用メモリ | 194,960 KB |
| 最終ジャッジ日時 | 2026-03-24 23:46:50 |
| 合計ジャッジ時間 | 12,899 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
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