結果

問題 No.570 3人兄弟(その1)
ユーザー KisaragiEffectiveKisaragiEffective
提出日時 2019-12-11 09:47:39
言語 Kotlin
(1.9.10)
結果
RE  
実行時間 -
コード長 199 bytes
コンパイル時間 12,456 ms
コンパイル使用メモリ 410,672 KB
実行使用メモリ 50,628 KB
最終ジャッジ日時 2023-09-06 12:59:07
合計ジャッジ時間 14,765 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

fun main() {
    val m = ArrayList<Pair<Char, Int>>()
    repeat(3) {
        m[it] = 'A' + it to readLine()!!.toInt()
    }
    m.sortedBy { it.second }.forEach { 
        println(it.first)
    }
}
0