結果
問題 |
No.1217 せしすせそ
|
ユーザー |
|
提出日時 | 2020-09-12 06:44:13 |
言語 | JavaScript (node v23.5.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 298 bytes |
コンパイル時間 | 164 ms |
コンパイル使用メモリ | 5,504 KB |
実行使用メモリ | 40,192 KB |
最終ジャッジ日時 | 2024-12-30 09:24:33 |
合計ジャッジ時間 | 1,856 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 10 |
ソースコード
const { createInterface } = require('readline') const input = await new Promise(res => createInterface(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]}`)