結果
問題 | No.570 3人兄弟(その1) |
ユーザー | ichibanshibori |
提出日時 | 2018-05-03 18:38:28 |
言語 | Kotlin (1.9.23) |
結果 |
AC
|
実行時間 | 312 ms / 2,000 ms |
コード長 | 219 bytes |
コンパイル時間 | 14,957 ms |
コンパイル使用メモリ | 417,604 KB |
実行使用メモリ | 56,236 KB |
最終ジャッジ日時 | 2023-08-12 23:34:55 |
合計ジャッジ時間 | 14,934 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 304 ms
56,208 KB |
testcase_01 | AC | 305 ms
56,236 KB |
testcase_02 | AC | 309 ms
55,988 KB |
testcase_03 | AC | 308 ms
56,088 KB |
testcase_04 | AC | 307 ms
56,032 KB |
testcase_05 | AC | 307 ms
56,008 KB |
testcase_06 | AC | 312 ms
56,196 KB |
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used fun main(args : Array<String>) { ^
ソースコード
fun main(args : Array<String>) { val hLst = (1..3).map { readLine() ?: "" }.map { it.toInt() } listOf("A", "B", "C") .zip(hLst) .sortedByDescending { it.second } .map { it.first } .forEach { println(it) } }