結果
問題 | No.2350 Four Seasons |
ユーザー |
|
提出日時 | 2023-07-03 08:20:29 |
言語 | Ruby (3.4.1) |
結果 |
AC
|
実行時間 | 93 ms / 2,000 ms |
コード長 | 208 bytes |
コンパイル時間 | 139 ms |
コンパイル使用メモリ | 7,680 KB |
実行使用メモリ | 12,288 KB |
最終ジャッジ日時 | 2024-07-17 05:25:32 |
合計ジャッジ時間 | 1,910 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 10 |
コンパイルメッセージ
Syntax OK
ソースコード
month = gets.to_i season = case month when 3, 4, 5 then "spring" when 6, 7, 8 then "summer" when 9, 10, 11 then "fall" when 12, 1, 2 then "winter" end puts season