結果

問題 No.2098 [Cherry Alpha *] Introduction
コンテスト
ユーザー tomerun
提出日時 2022-10-14 21:21:41
言語 Crystal
(1.19.1)
コンパイル:
crystal build -Donline_judge -o a.out --release --no-debug _filename_
実行:
./a.out
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 206 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 15,274 ms
コンパイル使用メモリ 336,352 KB
実行使用メモリ 7,844 KB
最終ジャッジ日時 2026-03-13 05:53:53
合計ジャッジ時間 13,882 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge1_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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