結果

問題 No.2350 Four Seasons
ユーザー maguroflymagurofly
提出日時 2023-06-16 21:24:32
言語 Ruby
(3.3.0)
結果
AC  
実行時間 82 ms / 2,000 ms
コード長 120 bytes
コンパイル時間 284 ms
コンパイル使用メモリ 11,196 KB
実行使用メモリ 15,296 KB
最終ジャッジ日時 2023-09-06 18:31:35
合計ジャッジ時間 2,387 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 82 ms
15,036 KB
testcase_01 AC 80 ms
15,120 KB
testcase_02 AC 81 ms
15,124 KB
testcase_03 AC 80 ms
15,288 KB
testcase_04 AC 81 ms
15,036 KB
testcase_05 AC 80 ms
15,252 KB
testcase_06 AC 81 ms
15,144 KB
testcase_07 AC 80 ms
15,036 KB
testcase_08 AC 79 ms
15,296 KB
testcase_09 AC 79 ms
15,260 KB
testcase_10 AC 80 ms
15,120 KB
testcase_11 AC 79 ms
15,124 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

X = gets.to_i
puts case X
when 3 .. 5
	"spring"
when 6 .. 8
	"summer"
when 9 .. 11
	"fall"
when 12, 1 .. 2
	"winter"
end
0