結果
| 問題 | No.2098 [Cherry Alpha *] Introduction | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2022-11-23 18:48:07 | 
| 言語 | JavaScript (node v23.5.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 63 ms / 2,000 ms | 
| コード長 | 255 bytes | 
| コンパイル時間 | 88 ms | 
| コンパイル使用メモリ | 6,944 KB | 
| 実行使用メモリ | 39,168 KB | 
| 最終ジャッジ日時 | 2024-09-24 23:36:00 | 
| 合計ジャッジ時間 | 2,917 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 13 | 
ソースコード
function Main(input) {
    const s = [...input.replace("\n", "")];
    const n = ["1st", "2nd", "3rd", "4th", "Alpha"];
    const c = ["Z", "B", "S", "E", "D"];
    console.log(n[c.indexOf(s[0])]);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
            
            
            
        