結果

問題 No.676 C0nvertPr0b1em
ユーザー 💕💖💞💕💖💞
提出日時 2018-05-06 22:32:40
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 300 ms / 2,000 ms
コード長 206 bytes
コンパイル時間 9,179 ms
コンパイル使用メモリ 431,828 KB
実行使用メモリ 60,472 KB
最終ジャッジ日時 2024-04-30 18:31:03
合計ジャッジ時間 18,911 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 283 ms
60,216 KB
testcase_01 AC 280 ms
60,340 KB
testcase_02 AC 290 ms
60,468 KB
testcase_03 AC 279 ms
60,388 KB
testcase_04 AC 284 ms
60,320 KB
testcase_05 AC 287 ms
60,284 KB
testcase_06 AC 287 ms
60,284 KB
testcase_07 AC 285 ms
60,244 KB
testcase_08 AC 283 ms
60,292 KB
testcase_09 AC 283 ms
60,204 KB
testcase_10 AC 285 ms
60,308 KB
testcase_11 AC 291 ms
60,312 KB
testcase_12 AC 287 ms
60,328 KB
testcase_13 AC 281 ms
60,420 KB
testcase_14 AC 288 ms
60,324 KB
testcase_15 AC 287 ms
60,396 KB
testcase_16 AC 282 ms
60,240 KB
testcase_17 AC 278 ms
60,284 KB
testcase_18 AC 283 ms
60,472 KB
testcase_19 AC 287 ms
60,276 KB
testcase_20 AC 290 ms
60,220 KB
testcase_21 AC 291 ms
60,192 KB
testcase_22 AC 300 ms
60,344 KB
testcase_23 AC 279 ms
60,300 KB
testcase_24 AC 276 ms
60,212 KB
testcase_25 AC 288 ms
60,336 KB
testcase_26 AC 288 ms
60,320 KB
testcase_27 AC 286 ms
60,288 KB
testcase_28 AC 291 ms
60,328 KB
testcase_29 AC 280 ms
60,196 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used
fun main(args:Array<String>) {
         ^

ソースコード

diff #

fun main(args:Array<String>) {
  var str = readLine()!!
  listOf( Pair("I", "1"), Pair("l", "1"), Pair("O", "0"), Pair("o", "0")  ).map {
    val (s, t) = it
    str = str.replace(s, t)
  }
  println(str)
}
0