結果

問題 No.570 3人兄弟(その1)
ユーザー 💕💖💞💕💖💞
提出日時 2017-12-24 21:57:09
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 298 ms / 2,000 ms
コード長 200 bytes
コンパイル時間 12,553 ms
コンパイル使用メモリ 411,088 KB
実行使用メモリ 56,468 KB
最終ジャッジ日時 2023-08-12 21:40:16
合計ジャッジ時間 16,048 ms
ジャッジサーバーID
(参考情報)
judge14 / judge8
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 298 ms
56,080 KB
testcase_01 AC 296 ms
56,244 KB
testcase_02 AC 297 ms
56,468 KB
testcase_03 AC 294 ms
55,956 KB
testcase_04 AC 293 ms
55,816 KB
testcase_05 AC 292 ms
55,980 KB
testcase_06 AC 291 ms
56,044 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used
fun main(args:Array<String>) {
         ^

ソースコード

diff #

fun main(args:Array<String>) {
  (0..2).map { readLine()!!.toInt() }.zip( listOf("A", "B", "C") ).map {
    //println(it)
    it
  }.sortedBy {
    it.first * -1
  }.map {
    println(it.second)
  }
}
0