結果
問題 |
No.1217 せしすせそ
|
ユーザー |
|
提出日時 | 2020-09-12 06:23:26 |
言語 | JavaScript (node v23.5.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 339 bytes |
コンパイル時間 | 201 ms |
コンパイル使用メモリ | 5,376 KB |
実行使用メモリ | 79,616 KB |
最終ジャッジ日時 | 2024-12-30 07:15:49 |
合計ジャッジ時間 | 3,923 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 10 |
ソースコード
const { createInterface } = require('readline') const main = async () => { const input = await new Promise(res => createInterface(process.stdin, process.stdout).once('line', res)); const list = 'abcdefghijklmnopqrstuvwxyz' const i = list.findIndex((c, i) => c !== input[i]) console.log(`${list[i]}to${input[i]}`) } main()