結果

問題 No.570 3人兄弟(その1)
ユーザー KisaragiEffectiveKisaragiEffective
提出日時 2019-12-11 09:52:37
言語 Kotlin
(1.9.23)
結果
RE  
実行時間 -
コード長 201 bytes
コンパイル時間 11,335 ms
コンパイル使用メモリ 416,124 KB
実行使用メモリ 52,400 KB
最終ジャッジ日時 2023-09-06 12:59:39
合計ジャッジ時間 14,171 ms
ジャッジサーバーID
(参考情報)
judge13 / 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>>(16)
    repeat(3) {
        m[it] = 'A' + it to readLine()!!.toInt()
    }
    m.sortedBy { it.second }.forEach { 
        println(it.first)
    }
}
0