結果

問題 No.1735 C#
ユーザー バカらっくバカらっく
提出日時 2022-02-03 13:18:19
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 299 ms / 2,000 ms
コード長 233 bytes
コンパイル時間 12,675 ms
コンパイル使用メモリ 422,752 KB
実行使用メモリ 56,236 KB
最終ジャッジ日時 2023-09-02 03:14:47
合計ジャッジ時間 15,179 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 299 ms
55,972 KB
testcase_01 AC 284 ms
56,236 KB
testcase_02 AC 281 ms
55,872 KB
testcase_03 AC 282 ms
55,964 KB
testcase_04 AC 282 ms
56,236 KB
testcase_05 AC 287 ms
56,172 KB
testcase_06 AC 285 ms
55,956 KB
testcase_07 AC 284 ms
55,848 KB
testcase_08 AC 283 ms
56,148 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used
fun main(args: Array<String>) {
         ^

ソースコード

diff #

fun main(args: Array<String>) {
    val tmp = "ABCDEFG".map { it.toString() } + "ACDFG".map { it.toString() + "#" }
    val oto = tmp.sorted().let { it+it+it }
    val s = readLine()!!
    println(oto.indexOf(s).let { oto[it+1] })
}
0