結果

問題 No.1335 1337
ユーザー face4face4
提出日時 2021-04-11 00:05:55
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 295 ms / 2,000 ms
コード長 200 bytes
コンパイル時間 11,355 ms
コンパイル使用メモリ 415,992 KB
実行使用メモリ 53,084 KB
最終ジャッジ日時 2023-09-09 03:59:13
合計ジャッジ時間 19,372 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 285 ms
52,956 KB
testcase_01 AC 284 ms
52,976 KB
testcase_02 AC 291 ms
52,736 KB
testcase_03 AC 292 ms
52,736 KB
testcase_04 AC 286 ms
52,984 KB
testcase_05 AC 288 ms
52,748 KB
testcase_06 AC 290 ms
52,608 KB
testcase_07 AC 289 ms
52,652 KB
testcase_08 AC 286 ms
52,756 KB
testcase_09 AC 290 ms
52,768 KB
testcase_10 AC 290 ms
52,716 KB
testcase_11 AC 291 ms
53,084 KB
testcase_12 AC 291 ms
52,884 KB
testcase_13 AC 291 ms
52,660 KB
testcase_14 AC 295 ms
52,964 KB
testcase_15 AC 293 ms
52,580 KB
testcase_16 AC 291 ms
52,828 KB
testcase_17 AC 289 ms
52,612 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

fun main() {
    val a = readLine()!!
    println(readLine()!!.toCharArray().map {
        when (it) {
            in 'a'..'z' -> it
            else -> a[it - '0']
        }
    }.joinToString(""))
}
0