結果

問題 No.570 3人兄弟(その1)
ユーザー 💕💖💞💕💖💞
提出日時 2017-12-24 21:57:09
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 282 ms / 2,000 ms
コード長 200 bytes
コンパイル時間 10,912 ms
コンパイル使用メモリ 427,620 KB
実行使用メモリ 60,232 KB
最終ジャッジ日時 2024-04-30 16:45:07
合計ジャッジ時間 12,104 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 276 ms
60,172 KB
testcase_01 AC 278 ms
60,076 KB
testcase_02 AC 274 ms
60,232 KB
testcase_03 AC 274 ms
60,188 KB
testcase_04 AC 282 ms
60,008 KB
testcase_05 AC 279 ms
60,172 KB
testcase_06 AC 273 ms
60,156 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