結果
問題 | No.1217 せしすせそ |
ユーザー | Keiya Watanabe |
提出日時 | 2020-09-12 06:43:51 |
言語 | JavaScript (node v21.7.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 289 bytes |
コンパイル時間 | 71 ms |
コンパイル使用メモリ | 5,300 KB |
実行使用メモリ | 45,620 KB |
最終ジャッジ日時 | 2023-08-28 21:16:50 |
合計ジャッジ時間 | 2,883 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | RE | - |
testcase_01 | RE | - |
testcase_02 | RE | - |
testcase_03 | RE | - |
testcase_04 | RE | - |
testcase_05 | RE | - |
testcase_06 | RE | - |
testcase_07 | RE | - |
testcase_08 | RE | - |
testcase_09 | RE | - |
testcase_10 | RE | - |
testcase_11 | RE | - |
testcase_12 | RE | - |
ソースコード
const { createInterface: ci } = require('readline') const input = await new Promise(res => ci(process.stdin, process.stdout).once('line', res)); const list = 'abcdefghijklmnopqrstuvwxyz' const i = list.split('').findIndex((c, i) => c !== input[i]) console.log(`${list[i]}to${input[i]}`)