結果

問題 No.2098 [Cherry Alpha *] Introduction
ユーザー tomeruntomerun
提出日時 2022-10-14 21:21:41
言語 Crystal
(1.11.2)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 206 bytes
コンパイル時間 20,420 ms
コンパイル使用メモリ 252,636 KB
実行使用メモリ 4,468 KB
最終ジャッジ日時 2023-09-08 20:11:04
合計ジャッジ時間 21,299 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,384 KB
testcase_01 AC 3 ms
4,468 KB
testcase_02 AC 3 ms
4,356 KB
testcase_03 AC 2 ms
4,452 KB
testcase_04 AC 2 ms
4,348 KB
testcase_05 AC 3 ms
4,468 KB
testcase_06 AC 2 ms
4,380 KB
testcase_07 AC 2 ms
4,400 KB
testcase_08 AC 2 ms
4,384 KB
testcase_09 AC 2 ms
4,384 KB
testcase_10 AC 3 ms
4,384 KB
testcase_11 AC 3 ms
4,388 KB
testcase_12 AC 2 ms
4,468 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ss = [
  "Zelkova and Cherry",
  "BANNED CONTEST",
  "Stray Bullet",
  "Early Summer Rain",
  "Do you know Cherry Contest?",
]
s = read_line
puts ["1st", "2nd", "3rd", "4th", "Alpha"][ss.index(s).not_nil!]
0